Node.js NodeJs npm start不工作

Node.js NodeJs npm start不工作,node.js,npm,npm-install,Node.js,Npm,Npm Install,我在mac os x和linux debian x64上使用npm运行nodejs应用程序时遇到了这个错误 我使用“npm安装”安装了node_模块 我怎样才能解决这样的问题 0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ] 2 info using npm@2.15.0 3 info using node@v4.4.2 4 verb

我在mac os x和linux debian x64上使用npm运行nodejs应用程序时遇到了这个错误

我使用“npm安装”安装了node_模块

我怎样才能解决这样的问题

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using npm@2.15.0
3 info using node@v4.4.2
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart ibtikar-staging-smart-bulb@1.0.0
6 info start ibtikar-staging-smart-bulb@1.0.0
7 verbose unsafe-perm in lifecycle true
8 info ibtikar-staging-smart-bulb@1.0.0 Failed to exec start script
9 verbose stack Error: ibtikar-staging-smart-bulb@1.0.0 start: `node app.js`
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter.<anonymous>             (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at EventEmitter.emit (events.js:172:7)
9 verbose stack     at ChildProcess.<anonymous>     (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at ChildProcess.emit (events.js:172:7)
9 verbose stack     at maybeClose (internal/child_process.js:827:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid ibtikar-staging-smart-bulb@1.0.0
11 verbose cwd /Users/mostafakhattab/Documents/gcloud/ibtikar-staging-smart-bulb
12 error Darwin 15.4.0
13 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
14 error node v4.4.2
15 error npm  v2.15.0
16 error code ELIFECYCLE
17 error ibtikar-staging-smart-bulb@1.0.0 start: `node app.js`
17 error Exit status 1
18 error Failed at the ibtikar-staging-smart-bulb@1.0.0 start script     'node app.js'.
18 error This is most likely a problem with the ibtikar-staging-smart-bulb package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     node app.js
18 error You can get information on how to open an issue for this project with:
18 error     npm bugs ibtikar-staging-smart-bulb
18 error Or if that isn't available, you can get their info via:
18 error
18 error     npm owner ls ibtikar-staging-smart-bulb
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]
0信息如果它以ok结尾,它就工作了
1详细cli['/usr/local/bin/node','/usr/local/bin/npm','start']
2信息使用npm@2.15.0
3信息使用node@v4.4.2
4详细的运行脚本['prestart','start','poststart']
5信息预启动ibtikar分期智能-bulb@1.0.0
6信息启动ibtikar暂存智能-bulb@1.0.0
7生命周期中的详细不安全perm true
8信息ibtikar智能登台-bulb@1.0.0无法执行启动脚本
9详细堆栈错误:ibtikar暂存智能-bulb@1.0.0start:`node app.js`
9详细堆栈退出状态1
9 EventEmitter上的详细堆栈。(/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
emitTwo上的9个详细堆栈(events.js:87:13)
9 EventEmitter.emit上的详细堆栈(events.js:172:7)
9子进程上的详细堆栈。(/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
emitTwo上的9个详细堆栈(events.js:87:13)
9 ChildProcess.emit上的详细堆栈(events.js:172:7)
9 maybeClose的详细堆栈(internal/child_process.js:827:16)
9 Process.ChildProcess.\u handle.onexit处的详细堆栈(internal/child\u Process.js:211:5)
10详细pkgid ibtikar暂存智能-bulb@1.0.0
11详细cwd/Users/mostafakhattab/Documents/gcloud/ibtikar智能灯泡
12.15.4.0
13错误argv“/usr/local/bin/node”“/usr/local/bin/npm”“启动”
14错误节点v4.4.2
15错误npm v2.15.0
16错误代码ELIFECYCLE
17错误ibtikar暂存智能-bulb@1.0.0start:`node app.js`
17错误退出状态1
18 ibtikar暂存智能时出错-bulb@1.0.0启动脚本“node app.js”。
18错误这很可能是ibtikar分段智能灯泡组件的问题,
18错误与npm本身无关。
18错误告诉作者此操作在您的系统上失败:
18错误节点app.js
18错误您可以通过以下方式获取有关如何打开此项目问题的信息:
18错误npm错误ibtikar分级智能灯泡
18错误或如果不可用,您可以通过以下方式获取他们的信息:
18错误
18错误npm所有者ls ibtikar暂存智能灯泡
18错误上面可能有其他日志输出。
19详细退出[1,true]

npm只需从18错误开始准确地打印出您应该做的事情。npm只需从18错误开始准确地打印出您应该做的事情。