Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Error in npm Start #7

Open
Muhamadrianto97 opened this issue Sep 24, 2019 · 2 comments
Open

Error in npm Start #7

Muhamadrianto97 opened this issue Sep 24, 2019 · 2 comments

Comments

@Muhamadrianto97
Copy link

how To fix this?
i want run npm start but got this error
Capture2

[email protected] start /root/c9launcher
NODE_ENV=production node index.js

/root/c9launcher/index.js:17
database.then(async db => {
^^
SyntaxError: Unexpected identifier
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3

npm ERR! [email protected] start: NODE_ENV=production node index.js
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is most likely a problem with the c9launcher package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! NODE_ENV=production node index.js
npm ERR! You can get their info via:
npm ERR! npm owner ls c9launcher
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.19.34-11.al7.x86_64
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! cwd /root/c9launcher
npm ERR! node -v v0.10.30
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/c9launcher/npm-debug.log
npm ERR! not ok code 0

@sirhypernova
Copy link
Owner

sirhypernova commented Sep 24, 2019 via email

@Muhamadrianto97
Copy link
Author

thanks worked

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

No branches or pull requests

2 participants