我对节点很新,我在迁移解析数据库时遇到问题。当npm install
然后尝试npm run
时,我收到以下错误:
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! parse-server-example@1.4.0 start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the parse-server-example@1.4.0 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$
非常感谢任何帮助。感谢
答案 0 :(得分:0)
我解决了这个问题。这是一个轻微但引发头痛的问题。在编辑服务器以添加我的appID和服务器URI时,我在Mac上使用TextEdit。 文本编辑不使用ASCII引号<“>但是卷曲类型。我在另一个编辑器中打开了服务器,它工作正常。现在我可以启动服务器并查询它。