-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught ReferenceError: Buffer is not defined [mocha.js:5833] #1558
Comments
Seeing the same thing. Needs to be |
why it's matter @callmevlad ? |
@a8m Browsers handle this differently than V8 in Node.js - for example, try the following in your Chrome console: Breaks: Works: |
Confirmed that this is still an issue. Updated dummy app with new |
@callmevlad makes sense, thx. |
Just added a PR for this: #1560 |
Fixing errors that prevent mocha.js from loading in the browser - fixes #1558
Getting this error with the latest version of the
mocha.js
file. I'm using the browser interface. Looks like the line that causes this error was added in eab389f. I set up a dummy app demonstrate the error. Just open upspec-runner.html
and open up the developer tools. Any thoughts on how to fix this? (Thanks to @clemf for finding this)The text was updated successfully, but these errors were encountered: