2016-12-28 6 views
1

Ich richte die Umgebung für meine erste AngularJS-Anwendung ein. Ich meine this Link. Ich erhalte den folgenden Fehler:Fehler in Angular JS Setup

/////////////////////////////// Command ///////// ////////////////////////////

D:\FrontEnd>node --version 
v6.9.1 

/////////////// ///////////////Befehl////////////////////////////////// //

D:\FrontEnd>npm install 
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.0.0 (node_modules\ch 
okidar\node_modules\fsevents): 
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected] 
1.0.15: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64" 
}) 

D:\FrontEnd>npm start 
npm ERR! Windows_NT 6.2.9200 
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\ 
node_modules\\npm\\bin\\npm-cli.js" "start" 
npm ERR! node v6.9.1 
npm ERR! npm v3.10.8 

npm ERR! missing script: start 
npm ERR! 
npm ERR! If you need help, you may report this error at: 
npm ERR!  <https://github.com/npm/npm/issues> 

npm ERR! Please include the following file with any support request: 
npm ERR!  D:\FrontEnd\npm-debug.log 

D:\FrontEnd> 

Kann mir jemand dabei helfen ??

+0

bearbeiten hinzufügen, einige Teile fehlen – Sajeetharan

Antwort

1

Ich glaube, Sie vermissen das Start-Tag in der package.json Ihre Frage

"scripts": { 
    "start": "node yourScript.js" 
} 
+0

Check diese Antwort http://stackoverflow.com/questions/31976722/start- script-missing-error-when-running-npm-start –

+0

Ich klicke das Projekt gerade. Es ist in dem Prozess. Kann es sein, dass dieser Befehl erst nach dem Klonen funktioniert? –

+0

Ja nach dem Klonen des Projekts überprüfen Sie die JSON-Datei –