-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Karma cant find the npm modules #1488
Comments
What binary are you using? Do you have |
I'm using the globally installed |
That's the problem then, you should use |
|
thx a lot, I got the same problem also~ |
Starting karma from |
Getting same problem on node 4.2, with karma as global, Cannot find plugin "karma-jasmine". but worked using local installed lib (on windows ) node node_modules\karma\bin\karma start karma.conf.js |
karma should NOT be installed globally, it will not work! Install |
+1 thanks @dignifiedquire . |
So to be specific: npm install -g karm-cli
npm install -D karma is that right? seems weird that the karma executable would interfere with the karma-cli executable if you installed both globally... |
@dignifiedquire OMG I LOVE YOU!!! I was screaming when Karma couldn't find the NPM modules I installed. Thank you so much. |
=> const { LOG_DEBUG } = require('karma/lib/constants'); |
Node version: v0.12.7
NPM version: 2.13.0
For some reason karma cannot find some modules. Note: I'm also requesting karma-mocha and this doesnt throw a warning.
But the plugin is installed
My package.json
My karma conf file
The text was updated successfully, but these errors were encountered: