2016-11-18 7 views
0

Ich bin ziemlich neu zu Knoten und ich habe ein Problem beim Migrieren einer Parse-DB. Wenn npm install und dann zu versuchen, npm run bekomme ich folgende Fehlermeldung:Fehler npm run Start

npm ERR! Darwin 15.3.0 
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start" 
npm ERR! node v7.1.0 
npm ERR! npm v3.10.9 
npm ERR! code ELIFECYCLE 
npm ERR! [email protected] start: `node index.js` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] start script 'node index.js'. 
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 parse-server-example package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  node index.js 
npm ERR! You can get information on how to open an issue for this project with: 
npm ERR!  npm bugs parse-server-example 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR!  npm owner ls parse-server-example 
npm ERR! There is likely additional logging output above. 

npm ERR! Please include the following file with any support request: 
npm ERR!  /Users/DimasImac/Documents/Development/Parse/npm-debug.log 
Dimas-Imac:Parse DimasImac$ 

Jede Hilfe wäre sehr geschätzt. Danke

+1

Was ich normalerweise zuerst tun In solch einer Situation: Löschen Sie den * node_modules * Ordner und führen Sie dann * npm i *. – Robert

+1

Welchen Fehler erhalten Sie, wenn Sie 'node index.js' ausführen? – AJS

+0

unter der Annahme, Einstiegspunkt Ihres Projekts ist' index.js' Datei? – AJS

Antwort

0

Ich habe das Problem behoben. Es war ein kleines, aber Kopfschmerzen verursachendes Problem. Während ich den Server änderte, um meine appID und Server URI hinzuzufügen, benutzte ich TextEdit auf dem Mac. Text Edit verwendet keine ASCII-Anführungszeichen < "> aber die lockige Art. Ich habe den Server in einem anderen Editor geöffnet und es hat gut funktioniert. Jetzt kann ich den Server starten und abfragen.