Windows 7
angular-cli: 1.0.0-beta.22-1
node: 6.5.0
os: win32 x64
I did all the update steps (install angular-cli global, perfom "ng init" etc... etc...
Start serving the application with "ng serve". After the application is built successfully, I get the webpack-dev-server/socket.js exception...
ERROR in (webpack)-dev-server/client/socket.js
Module not found: Error: Can't resolve 'sockjs-client' in 'c:system9sourcesWEBMYNEXUZMyNexuznode_moduleswebpack-de
v-serverclient'
@ (webpack)-dev-server/client/socket.js 1:13-37
@ (webpack)-dev-server/client?http://localhost:4200/
@ multi main
I've never seen that. Could you try to rm -rf your node_modules folder and reinstall, see if that helps? If not, would you mind providing repro steps?
I'm closing this unless you can provide a reproducible case.
removing the node_modules folder worked. Thanks @hansl
Encountered similar issue. Removing and installing node_modules worked.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
removing the node_modules folder worked. Thanks @hansl