geerlingguy / ansible-role-nodejs

Ansible Role - Node.js
https://galaxy.ansible.com/geerlingguy/nodejs/
MIT License
410 stars 252 forks source link

NPM_CONFIG_PREFIX issue #130

Closed tanujkumawat1 closed 2 years ago

tanujkumawat1 commented 3 years ago

In the tasks/main.yaml, the env variables are NPM_CONFIG_PREFIX: "{{ npm_config_prefix }}" and it did not allow us to change the node version using nvm if we have to change the version we have to unset this env variable. nvm is not compatible with the "NPM_CONFIG_PREFIX" environment variable: currently set to "/usr/local/lib/npm" Rununset NPM_CONFIG_PREFIXto unset it.

stale[bot] commented 2 years ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] commented 2 years ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.