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

(bug) step-4 - Testing Components upgrade Karma packages #7

Open
cliffordfajardo opened this issue May 14, 2016 · 1 comment
Open

Comments

@cliffordfajardo
Copy link

Before writing your tests for step 4, Scott notes we need to update our karma.conf.js file. Afterwards, when running npm start you might get an error saying "cannot load webpack".

My Fix: I removed all the karma packages from my devDependencies in my package.json file & node_modules folder:

npm uninstall --save-dev karma karma-chai karma-chrome-launcher karma-mocha karma-mocha-reporter karma-sourcemap-loader karma-webpack

Next just install the new packages

npm install --save-dev karma karma-chai karma-chrome-launcher karma-mocha karma-mocha-reporter karma-sourcemap-loader karma-webpack
@gabalicious
Copy link

I changed Karma version to "karma": "^1.2.0" and this fixed it for me.

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

2 participants