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

Library only works as a standalone - mocha cannot be bundled with webpack #1

Open
devhazem opened this issue Nov 21, 2020 · 0 comments

Comments

@devhazem
Copy link

devhazem commented Nov 21, 2020

When using it in an Angular 2 project, I get the following error (even though the file does exist):
Error: Webpack Compilation Error C:/app/node_modules/mocha/lib/browser/growl.js Module not found: Error: Can't resolve '../../package' in 'C:\app\node_modules\mocha\lib\browser' resolve '../../package' in 'C:\app\node_modules\mocha\lib\browser' using description file: C:\app\node_modules\mocha\package.json (relative path: ./lib/browser) using description file: C:\app\node_modules\mocha\package.json (relative path: ./package)

I have opened a mocha issue. Do you have any idea how to make this work?

@devhazem devhazem changed the title Jade is deprecated and module is no longer working Library only works as a standalone - mocha cannot be bundled with webpack Nov 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant