ubuntu - Angular2 Quickstart gulp error -


i trying angular2 quickstart application , running running errors when run gulp command.

i have ubuntu 15.04. installed nodejs v0.10.25 , npm 1.4.21. installed gulp v3.9.0. cloned latest angular2/quickstart using

git clone https://github.com/angular/quickstart.git hello2ng2

then went inside hello2ng2 folder , issued following command

npm install

and issued following command build quickstart app

gulp

i got following errors... not sure how fix it. looking help.

[12:38:46] starting 'default'... [12:38:46] starting 'clean'... [12:38:46] finished 'clean' after 13 ms [12:38:46] starting 'build:ng2'... npm warn package.json angular2@2.0.0-alpha.30 no repository field. npm warn package.json rtts_assert@2.0.0-alpha.30 no repository field. npm warn package.json angular2@2.0.0-alpha.30 no repository field. npm warn package.json rtts_assert@2.0.0-alpha.30 no repository field.  events.js:72         throw er; // unhandled 'error' event               ^ error: enoent, open '/home/usernm/angulartest/helloworld/hello2ng2/node_modules/angular2/es6/prod/angular2.api.map' npm warn package.json rtts_assert@2.0.0-alpha.30 no repository field.  events.js:72         throw er; // unhandled 'error' event               ^ error: enoent, open '/home/usernm/angulartest/helloworld/hello2ng2/node_modules/rtts_assert/es6/es5build.map' [12:38:54] 'build:ng2' errored after 7.5 s [12:38:54] error in plugin 'gulp-shell' message:     command failed: npm warn package.json angular2@2.0.0-alpha.30 no repository field. npm warn package.json rtts_assert@2.0.0-alpha.30 no repository field. npm warn package.json angular2@2.0.0-alpha.30 no repository field. npm warn package.json rtts_assert@2.0.0-alpha.30 no repository field.  events.js:72         throw er; // unhandled 'error' event               ^ error: enoent, open '/home/usernm/angulartest/helloworld/hello2ng2/node_modules/angular2/es6/prod/angular2.api.map' npm warn package.json rtts_assert@2.0.0-alpha.30 no repository field.  events.js:72         throw er; // unhandled 'error' event               ^ error: enoent, open '/home/usernm/angulartest/helloworld/hello2ng2/node_modules/rtts_assert/es6/es5build.map'  details:     killed: false     code: 8     signal: null     stdout:      stderr: npm warn package.json angular2@2.0.0-alpha.30 no repository field. npm warn package.json rtts_assert@2.0.0-alpha.30 no repository field. npm warn package.json angular2@2.0.0-alpha.30 no repository field. npm warn package.json rtts_assert@2.0.0-alpha.30 no repository field.  events.js:72         throw er; // unhandled 'error' event               ^ error: enoent, open '/home/usernm/angulartest/helloworld/hello2ng2/node_modules/angular2/es6/prod/angular2.api.map' npm warn package.json rtts_assert@2.0.0-alpha.30 no repository field.  events.js:72         throw er; // unhandled 'error' event               ^ error: enoent, open '/home/usernm/angulartest/helloworld/hello2ng2/node_modules/rtts_assert/es6/es5build.map'  [12:38:54] 'default' errored after 7.52 s [12:38:54] error: [object object]     @ formaterror (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10)     @ gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15)     @ gulp.eventemitter.emit (events.js:117:20)     @ gulp.orchestrator._emittaskdone (/home/usernm/angulartest/helloworld/hello2ng2/node_modules/gulp/node_modules/orchestrator/index.js:264:8)     @ /home/usernm/angulartest/helloworld/hello2ng2/node_modules/gulp/node_modules/orchestrator/index.js:275:23     @ finish (/home/usernm/angulartest/helloworld/hello2ng2/node_modules/gulp/node_modules/orchestrator/lib/runtask.js:21:8)     @ cb (/home/usernm/angulartest/helloworld/hello2ng2/node_modules/gulp/node_modules/orchestrator/lib/runtask.js:29:3)     @ finish (/home/usernm/angulartest/helloworld/hello2ng2/node_modules/run-sequence/index.js:53:5)     @ gulp.onerror (/home/usernm/angulartest/helloworld/hello2ng2/node_modules/run-sequence/index.js:60:4)     @ gulp.eventemitter.emit (events.js:117:20) 

i had similar problem. tutorial not (or @ least did not when wrote this) mention minimum required node version. install latest node/npm , give go.

also latest tutorial improved time wrote this, yet still doesn't indicate needed node version. after updating node, highly recommend going through new tutorial. did provide google feedback in item, coming soon.


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -