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

Error starting the project #835

Closed
alacret opened this issue Aug 5, 2016 · 5 comments
Closed

Error starting the project #835

alacret opened this issue Aug 5, 2016 · 5 comments

Comments

@alacret
Copy link

alacret commented Aug 5, 2016

  • I'm submitting a ...
    [X] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
  • What is the current behavior?
    The Project Does not start
  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

    node -v

    v6.3.1

    npm -v

    No need to prepend node_modules path #3.10.3

git clone --depth 1 https://github.com/angularclass/angular2-webpack-starter.git
cd angular2-webpack-starter
npm install

npm start or npm run server:dev:hmr

RESULT:

angular2-webpack-starter@5.0.5 server:dev /vagrant/angular2-webpack-starter
webpack-dev-server --config config/webpack.dev.js --progress --profile --colors --watch --display-error-details --display-cached --content-base src/

/vagrant/angular2-webpack-starter/node_modules/sockjs/lib/sockjs.js:48

SyntaxError: Unexpected token ILLEGAL
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:513:28)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object. (/vagrant/angular2-webpack-starter/node_modules/sockjs/index.js:1:80)
at Module._compile (module.js:541:32)

npm ERR! Linux 4.4.0-22-generic
npm ERR! argv "/home/vagrant/.nvm/versions/node/v6.3.1/bin/node" "/home/vagrant/.nvm/versions/node/v6.3.1/bin/npm" "run" "server:dev"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! angular2-webpack-starter@5.0.5 server:dev: webpack-dev-server --config config/webpack.dev.js --progress --profile --colors --watch --display-error-details --display-cached --content-base src/
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular2-webpack-starter@5.0.5 server:dev script 'webpack-dev-server --config config/webpack.dev.js --progress --profile --colors --watch --display-error-details --display-cached --content-base src/'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, 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 --config config/webpack.dev.js --progress --profile --colors --watch --display-error-details --display-cached --content-base src/
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs angular2-webpack-starter
npm ERR! Or if that isn't available, 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! /vagrant/angular2-webpack-starter/npm-debug.log

@kaurinz
Copy link

kaurinz commented Aug 7, 2016

same issue

@wuzhouyang
Copy link

is it solved?

@alacret
Copy link
Author

alacret commented Sep 5, 2016

No

On Sunday, 4 September 2016, oceania wu notifications@github.com wrote:

is it solved?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#835 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4Fb1YXoOqtPLwfVZoEPmFP37lK4M19ks5qm3ZkgaJpZM4JdzJP
.

Ing. Angel Lacret

@wuzhouyang
Copy link

i just resolve it because the default port was occupied...

@vigneshpr
Copy link

try fuser -k 3000/tcp then run

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

5 participants