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

Refusing to run NodeJS app as root Error #67

Closed
ifeLight opened this issue May 16, 2020 · 2 comments
Closed

Refusing to run NodeJS app as root Error #67

ifeLight opened this issue May 16, 2020 · 2 comments

Comments

@ifeLight
Copy link

ifeLight commented May 16, 2020

root@trade9ine:~/trader# cd build
root@trade9ine:~/trader/build# node app.js --debug
Refusing to run NodeJS app as root
root@trade9ine:~/trader/build# ls
ai.js app.js.map config.js configLocal-sample.js configLocal.js.map public
ai.js.map backfind.js config.js.map configLocal-sample.js.map imports.js src
app.js backfind.js.map config.json configLocal.js imports.js.map tests
root@trade9ine:~/trader/build# node app.js
Refusing to run NodeJS app as root
root@trade9ine:~/trader/build#

@Ekliptor
Copy link
Owner

The error means exactly what it says. You should not run nodejs apps as root user in general! And my apps refuse doing so on purpose. Login as another user and you can run it.

@ifeLight
Copy link
Author

Okay I understand better

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