Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

error when i start npm #157

Closed
aymenHarbaoui opened this issue Jan 17, 2017 · 4 comments
Closed

error when i start npm #157

aymenHarbaoui opened this issue Jan 17, 2017 · 4 comments

Comments

@aymenHarbaoui
Copy link

I get this error below when i start my server npm. Any help ?

ERROR in (webpack)-dev-server/client?http://localhost:8000
Module not found: Error: Can't resolve 'strip-ansi' in 'C:\Angular2\angularSeed\angular2-seed\node_modules\webpack-dev-server\client'
@ (webpack)-dev-server/client?http://localhost:8000 3:16-37
@ multi main

ERROR in (webpack)-dev-server/client/socket.js
Module not found: Error: Can't resolve 'sockjs-client' in 'C:\Angular2\angularSeed\angular2-seed\node_modules\webpack-dev-server\client'
@ (webpack)-dev-server/client/socket.js 1:13-37
@ (webpack)-dev-server/client?http://localhost:8000
@ multi main
webpack: bundle is now VALID.

@peturh
Copy link

peturh commented Jan 22, 2017

Are you sure your using the correct node version? I got the same when I was using Node 4.x

@aymenHarbaoui
Copy link
Author

i have npm@2.15.8 version and node 4.x

@peturh
Copy link

peturh commented Jan 23, 2017

Then there is your problem.

From README.md:

Make sure you have node.js installed version 5+

@aymenHarbaoui
Copy link
Author

Okay thank you ! because i used npm in different project ( as cordova mobile) so i think as you said this my probleme. Thank you very much

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants