Skip to content
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

browser-entry.js not present when mocha 2.5.3 is installed via npm #2323

Closed
qrohlf opened this issue Jun 21, 2016 · 4 comments
Closed

browser-entry.js not present when mocha 2.5.3 is installed via npm #2323

qrohlf opened this issue Jun 21, 2016 · 4 comments
Labels
type: bug a defect, confirmed by a maintainer

Comments

@qrohlf
Copy link

qrohlf commented Jun 21, 2016

cd /tmp; npm i mocha; stat node_modules/browser-entry.js
# => stat: node_modules/browser-entry.js: stat: No such file or directory

This causes require('mocha') to fail in a webpack environment

@boneskull boneskull added type: bug a defect, confirmed by a maintainer confirmed labels Jun 21, 2016
@boneskull
Copy link
Member

@qrohlf I'll see if I can't fix this today

@qrohlf
Copy link
Author

qrohlf commented Jun 21, 2016

@boneskull awesome thanks, for now I can probably workaround by overwriting node_modules/mocha with the source from GitHub

boneskull added a commit to boneskull/mocha that referenced this issue Jun 21, 2016
@boneskull
Copy link
Member

build in progress

@callmevlad
Copy link
Contributor

@boneskull Any chance this fix can be published to npm as mocha@2.5.4?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug a defect, confirmed by a maintainer
Projects
None yet
Development

No branches or pull requests

3 participants