node.js - Cant run node js as root -


i have node js running on raspberry pi. when run $ node -v gives me version number when run $ sudo node -v returns node: not found

i need run root, ideas?

when run root, path different. if modify path root, or specify full path node.js executable, work.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -