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

problems installing with node.js grunt file when not with root access #1243

Closed
faddah opened this issue Oct 31, 2014 · 3 comments
Closed

problems installing with node.js grunt file when not with root access #1243

faddah opened this issue Oct 31, 2014 · 3 comments

Comments

@faddah
Copy link

faddah commented Oct 31, 2014

hello —

first, go read (i know it's long, but still...) this thread at the discuss.atom.io forums —

Need help - ubuntu linux 14.04 LTS w/ xfce4 Atom build error - grunt file expecting Node in another directory

basically, on ubuntu linux 14.04 LTS with unity, if i install node.js with nvm, v0.17.3, and then try and doing an install in linux of something like Atom that finishes with the grunt.js task runner, the install with the grunt file fails because of grunt not having root access. for some thing like node.js on linux and installing stuff like the Atom editor that uses grunt files that need root access, i think it either needs to install node.js giving it root access or it needs to have a work-around for this.

i had previously filed this as an nvm issue #569 - and @ljharb of that nvm repository came back and said, and i quote —

“That's a huge problem with grunt, not one with nvm. Nothing should need root access. Please file an issue on grunt itself. See #43 for context about nvm and root.”

so here i am, filing that issue.

best,

— faddah wolf
portland, oregon, u.s.a.
github.com/faddah

@ljharb
Copy link

ljharb commented Oct 31, 2014

To clarify, beyond npm install -g which the user should initiate explicitly, I don't see why any module would ever require root access. I'm happy to be educated, however, if I'm missing something.

@vladikoff
Copy link
Member

That's a huge problem with grunt, not one with nvm. Nothing should need root access.

Grunt doesn't need root access.

@faddah
Copy link
Author

faddah commented Oct 31, 2014

@vladikoff - that may be true, but did you read over the atom discussion thread i referenced where the grunt file was not working and appeared to need the root access? can you help us a bit with that maybe?

best,

— faddah wolf
portland, oregon, u.s.a.
github.com/faddah

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

3 participants