2017-09-15 1 views
-5

// Dies sind die Fehlerprotokolle Details
0 info es funktionierte, wenn es mit ok 1 ausführlichem cli endet [ 'C: \ Programme \ NodeJS \ node.exe', 1 ausführlichen cli 'C: \ Benutzer \ SamiUllahJan \ AppData \ Roaming \ npm \ knotenmodule \ npm \ bin \ npm-cli.js', 1 ausführlicher cli 'start'] 2 info using [email protected] 3 info using node @ v6.11.3 4 verbose stack Fehler: fehlendes Skript: start 4 ausführlicher Stapel bei Ausführung (C: \ Benutzer \ SamiUllahJan \ AppData \ Roaming \ npm \ Knotenmodule \ npm \ lib \ run-script.js: 151: 19) 4 ausführlicher Stapel bei C: \ Benutzer \ SamiUllahJan \ AppData \ Roaming \ npm \ Knotenmodule \ npm \ lib \ run-script.js: 61: 5 4 ausführlicher Stapel bei C: \ Benutzer \ SamiUllahJan \ AppData \ Roaming \ npm \ Knotenmodule \ npm \ Knotenmodule \ read-package-json \ read-json.js: 115: 5 4 ausführlicher Stapel bei C: \ Users \ SamiUllahJan \ AppData \ Roaming \ npm \ Knotenmodule \ npm \ Knotenmodule \ read-package-json \ read-json.js: 402: 5 4 ausführlicher Stapel bei checkBinReferences_ (C: \ Benutzer \ SamiUllahJan \ AppData \ Roaming \ npm \ node_modules \ npm \ node_modules \ lese-paket-json \ read-json.js: 357: 45) 4 verbose stack at final (C: \ Benutzer \ SamiUllahJan \ AppData \ Roaming \ npm \ node_modules \ npm \ node_modules \ read-package- json \ read-json.js: 400: 3) 4 verbose stack at dann (C: \ Benutzer \ SamiUllahJan \ AppData \ Roaming \ npm \ Knotenmodule \ npm \ Knotenmodule \ read-package-json \ read-json.js: 160: 5) 4 ausführliche Stapel bei ReadFileContext. (C: \ Benutzer \ SamiUllahJan \ AppData \ Roaming \ npm \ Knotenmodule \ npm \ Knotenmodule \ read-package-json \ read-json.js: 332: 20) 4 ausführliche Stapel bei ReadFileContext.callback (C: \ Users \ SamiUllahJan \ AppData \ Roaming \ npm \ Knoten_Module \ npm \ Knotenmodule \ graceful-fs \ graceful-fs.js: 78: 16) 4 ausführlicher Stapel bei FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js: 367: 13) 5 ausführliche cwd C: \ Samy \ Code Schule 6 worse Windows_NT 6.3.9600 7 wortreiche argv "C: \ Programme \ nodejs \ node.exe" "C: \ Benutzer \ SamiUllahJan \ AppData \ Roaming \ npm \ node_modules \ NPM \ bin \ NPM-cli.js“ "start" 8 ausführliche Knoten v6.11.3 9 ausführliche NPM v5.4.2 10 Fehler fehlt Script: 11 ausführliche exit starten [1, true]npm Start gibt Fehler in NodeJS

Antwort

0

Wenn geben Sie Terminal

npm start 

npm für das Startskript in package.json Datei sieht in, die Sie nicht definiert.

Ihre package.json Datei wie folgt aussehen ändern (achten Sie auf Skripte Eigenschaft):

{ 
    "name": "sample-app", 
    "version": "1.0.0", 
    "description": "", 
    "scripts": { 
    "start": "node index.js" 
    } 
}