-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
Hi,
ng serve is always giving these errors
ERROR in multi main
Module not found: Error: Can't resolve 'webpack-dev-server/client?http://localhost:4200/' in '/usr/local/lib/node_modules/angular-cli/models'
@ multi main
ERROR in [default] /Users/z001mss/bnsf/src/app/app.component.ts:5:12
Cannot find name 'require'.
ERROR in [default] /Users/z001mss/bnsf/src/app/app.component.ts:6:11
Cannot find name 'require'.
going to localhost:4200, just says loading
Please provide us with the following information:
OS?
Mac OSX (Yosemite)
Versions.
Please run
ng --version
. If there's nothing outputted, please run in a Terminal:node --version
and paste the result here:
angular-cli: 1.0.0-beta.18
node: 7.0.0
os: darwin x64
Repro steps.
Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
none
The log given by the failure.
Normally this include a stack trace and some more information.
ERROR in multi main
Module not found: Error: Can't resolve 'webpack-dev-server/client?http://localhost:4200/' in '/usr/local/lib/node_modules/angular-cli/models'
@ multi main
ERROR in [default] /Users/z001mss/bnsf/src/app/app.component.ts:5:12
Cannot find name 'require'.
ERROR in [default] /Users/z001mss/bnsf/src/app/app.component.ts:6:11
Cannot find name 'require'.