Sto provando a ottenere l'applicazione di avvio rapido angular2 attiva e in esecuzione, ma quando si esegue il comando gulp si verificano degli errori.Angular2 Quickstart gulp error
Ho Ubuntu 15.04. Ho installato nodejs v0.10.25 e npm 1.4.21. Ho anche installato gulp v3.9.0. Ho clonato ultima angular2/quickstart utilizzando
git clone https://github.com/angular/quickstart.git hello2ng2
Poi sono andato all'interno della cartella hello2ng2 ed emessi seguente comando
npm installare
E poi ho emesso il seguente comando per creare l'app Quickstart
sorso
mi hanno seguito gli errori ... non so come risolvere il problema. In cerca di aiuto
[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 [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] 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 [email protected] 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 [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] 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 [email protected] 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 [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] 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 [email protected] 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]
at formatError (/usr/local/lib/node_modules/gulp/bin/gulp.js:169:10)
at Gulp.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:195:15)
at Gulp.EventEmitter.emit (events.js:117:20)
at Gulp.Orchestrator._emitTaskDone (/home/usernm/angulartest/helloworld/hello2ng2/node_modules/gulp/node_modules/orchestrator/index.js:264:8)
at /home/usernm/angulartest/helloworld/hello2ng2/node_modules/gulp/node_modules/orchestrator/index.js:275:23
at finish (/home/usernm/angulartest/helloworld/hello2ng2/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8)
at cb (/home/usernm/angulartest/helloworld/hello2ng2/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3)
at finish (/home/usernm/angulartest/helloworld/hello2ng2/node_modules/run-sequence/index.js:53:5)
at Gulp.onError (/home/usernm/angulartest/helloworld/hello2ng2/node_modules/run-sequence/index.js:60:4)
at Gulp.EventEmitter.emit (events.js:117:20)
È sempre possibile provare l'angular2-seed https://github.com/mgechev/angular2-seed –
Provare un altro percorso: una varietà di piastre angolari 2 ordinate per versione alpha [qui] (http: //www.tryangular2 .com/categoria/Boilerplate). Il repository che hai clonato attualmente ha 4 mesi e 16 versioni. – shmck
Ho lo stesso problema. Dai uno sguardo a uno dei problemi [https://github.com/angular/quickstart/issues/18]. Un membro del team Angular menziona: "Stiamo per emigrare da questo quickstart al posto di una soluzione migliore." –