-
-
Notifications
You must be signed in to change notification settings - Fork 729
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
export N_NODE_MIRROR is useless for sudo operation #584
Comments
You need to tell sudo that you want to use the existing environment variables. For example, on Mac looks like:
From sudo man page:
|
ok thanks for your help |
maybe you should add those to readme.md (?) |
Thanks! |
export N_NODE_MIRROR=https://npm.taobao.org/mirrors/node & sudo n 10.16.3
it still fetch node from https://nodejs.org
The text was updated successfully, but these errors were encountered: