A
A
Alexander Kurganov2014-01-23 02:29:55
Node.js
Alexander Kurganov, 2014-01-23 02:29:55

How to solve the problem with running a node.js application on Mac OS?

It just doesn’t start, the application works fine in the cloud, but it doesn’t want to run locally.
Content of npm-debug.log:

0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart [email protected]
6 info start [email protected]
7 verbose unsafe-perm in lifecycle true
8 info [email protected] Failed to exec start script
9 error [email protected] start: `node app.js`
9 error Exit status 8
10 error Failed at the [email protected] start script.
10 error This is most likely a problem with the Pockr package,
10 error not with npm itself.
10 error Tell the author that this fails on your system:
10 error     node app.js
10 error You can get their info via:
10 error     npm owner ls Pockr
10 error There is likely additional logging output above.
11 error System Darwin 13.0.0
12 error command "node" "/usr/local/bin/npm" "start"
13 error cwd /Users/akurganow/Dropbox/Repos/MyGitHub/Pockr
14 error node -v v0.10.24
15 error npm -v 1.3.21
16 error code ELIFECYCLE
17 verbose exit [ 1, true ]

Xcode Command Line Tools installed.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
halfcupgreentea, 2014-06-22
@halfcupgreentea

does just `node app.js` work?

Y
yurnei, 2015-04-17
@yurnei

https://github.com/bitpay/insight/issues/559

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question