-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Can't start the server #366
Comments
can you update node to 5+ and npm to 3+ you're currently at node 0.12.7 and npm 2. after you update node you can run the command |
Thax, I just did, but still not working: C:\Users\primary\toto>npm start
module.js:341 Error: Cannot find module 'webpack' npm ERR! Windows_NT 6.3.9600 npm ERR! Please include the following file with any support request: npm ERR! Windows_NT 6.3.9600 npm ERR! Please include the following file with any support request: npm ERR! Windows_NT 6.3.9600 npm ERR! Please include the following file with any support request: npm ERR! Windows_NT 6.3.9600 npm ERR! Please include the following file with any support request: |
what about |
same issue! |
yeah delete node_modules and run npm install again then install all of the globals again |
While Installing Global Packages, I got the following warnings/errors: 1- WebPack: npm WARN optional Skipping failed optional dependency /webpack/chokidar/fsevents 2. Therefore problem for webpack-dev-server: npm WARN webpack-dev-server@1.14.1 requires a peer of webpack@>=1.3.0 <3 but non 3. With protractor: C:\Users\primary\AppData\Roaming\npm\node_modules\protractor\node_modules\utf-8-
gyp ERR! build error |
@moaaz-s can you pull latest changes and see if it works? I'm going to close this but feel free to open another issue |
I just downloaded the starter and installed the global dependencies. when I run the server, I get this message:
I'm not sure if it is a local problem or something with the starter.
I'm using windows8
C:\Users\primary\toto>npm run server
module.js:338
throw err;
^
Error: Cannot find module 'webpack'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (C:\Users\primary\toto\webpack.config.js:3:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (
x86)\nodejs\node_modules\npm\bin\npm-cli.js" "run" "server:dev" "--" "--hot
"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! angular2-webpack-starter@3.0.0 server:dev:
webpack-dev-server --inline --progress --profile --colors --watch --display-error-details --display-cached --content-base src/ "--hot"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular2-webpack-starter@3.0.0 server:dev script 'webpack
-dev-server --inline --progress --profile --colors --watch --display-error-detai
ls --display-cached --content-base src/ "--hot"'.
npm ERR! This is most likely a problem with the angular2-webpack-starter package
,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack-dev-server --inline --progress --profile --colors --watch -
-display-error-details --display-cached --content-base src/ "--hot"
npm ERR! You can get their info via:
npm ERR! npm owner ls angular2-webpack-starter
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\primary\toto\npm-debug.log
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (
x86)\nodejs\node_modules\npm\bin\npm-cli.js" "run" "server:dev:hmr"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! angular2-webpack-starter@3.0.0 server:dev:hmr:
npm run server:dev -- - -hot
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular2-webpack-starter@3.0.0 server:dev:hmr script 'npm
run server:dev -- --hot'.
npm ERR! This is most likely a problem with the angular2-webpack-starter package
,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run server:dev -- --hot
npm ERR! You can get their info via:
npm ERR! npm owner ls angular2-webpack-starter
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\primary\toto\npm-debug.log
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (
x86)\nodejs\node_modules\npm\bin\npm-cli.js" "run" "server"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! angular2-webpack-starter@3.0.0 server:
npm run server:dev:hmr
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular2-webpack-starter@3.0.0 server script 'npm run ser
ver:dev:hmr'.
npm ERR! This is most likely a problem with the angular2-webpack-starter package
,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run server:dev:hmr
npm ERR! You can get their info via:
npm ERR! npm owner ls angular2-webpack-starter
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\primary\toto\npm-debug.log
The text was updated successfully, but these errors were encountered: