Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ELIFECYCLE error #1

Closed
fedaykinofdune opened this issue Oct 6, 2014 · 8 comments
Closed

ELIFECYCLE error #1

fedaykinofdune opened this issue Oct 6, 2014 · 8 comments

Comments

@fedaykinofdune
Copy link

NodeJS is still fairly new to me so I'm having trouble figuring this one out. Probably one of those things that should be obvious to me but I'm just missing something. I have went over my settings very thoroughly as well, I'm pretty sure I've got everything correct in it, tried using the supplied template settings file just to see, got the same error each time.

There was an error processing your settings.json file: Unexpected token T

npm ERR! explorer@1.3.3 start: node --stack-size=10000 ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the explorer@1.3.3 start script.
npm ERR! This is most likely a problem with the explorer package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node --stack-size=10000 ./bin/www
npm ERR! You can get their info via:
npm ERR! npm owner ls explorer
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.13.0-36-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! cwd /home/towedunder/explorer
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/towedunder/explorer/npm-debug.log
npm ERR! not ok code 0

@ssdpool
Copy link

ssdpool commented Oct 6, 2014

yes, if you can read source and readme will find problem may be :) .
this is not issue will be closed

@iquidus
Copy link
Owner

iquidus commented Oct 6, 2014

Could you please pastebin your entire settings.json file and link it here

@iquidus
Copy link
Owner

iquidus commented Oct 6, 2014

if it has //* starting the first line, change it to /* and see if that works (one slash instead of two)

@ssdpool
Copy link

ssdpool commented Oct 6, 2014

Unexpected token T this is //
need to remove one :)

@iquidus
Copy link
Owner

iquidus commented Oct 6, 2014

I will fix the settings.json.template in the repo shortly. It contains this issue. Not at dev machine atm.

@fedaykinofdune
Copy link
Author

Ahh thanks for the fast response, going to fix my settings file now. I figured it may have been something like that, still unfamiliar with some of the formatting strictures.

@fedaykinofdune
Copy link
Author

I just deleted the first few commented lines, running perfectly now. Thanks for the help!

@iquidus
Copy link
Owner

iquidus commented Oct 6, 2014

have fixed the settings.json.template; a904d24

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants