geerlingguy / ansible-role-nodejs

Ansible Role - Node.js

Home Page:https://galaxy.ansible.com/geerlingguy/nodejs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPM_CONFIG_PREFIX issue

tanujkumawat1 opened this issue · comments

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" Run unset NPM_CONFIG_PREFIX to unset it.

commented

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.

commented

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.