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

npm loads global npmrc outside yawds #4

Closed
h2non opened this issue Feb 5, 2014 · 3 comments
Closed

npm loads global npmrc outside yawds #4

h2non opened this issue Feb 5, 2014 · 3 comments
Assignees
Labels
Milestone

Comments

@h2non
Copy link
Contributor

h2non commented Feb 5, 2014

npm loads npmrc files from outside of yawds environment.
If exists %USERPROFILE%/.npmrc, npm will load it, and this may cause override config options required by yawds like prefix.

The fix solves partially the issue and defines explicitly the global and userconfig files paths, but seems there is no way via npm config to discard loading .npmrc in the user home.

This should be reported as issue to the npm project

@ghost ghost assigned h2non Feb 5, 2014
@h2non
Copy link
Contributor Author

h2non commented Feb 5, 2014

@felixzapata, maybe you could add anything else...?

h2non added a commit that referenced this issue Feb 5, 2014
@felixzapata
Copy link
Member

Previous the fix, I´ve resolved the problem by deleting (in my context I could do it) the npmrc file I used. After that, the yawds use the config options of its installation.

@h2non
Copy link
Contributor Author

h2non commented Feb 5, 2014

Read possible troubles for more information about how to solve this issue
Closing

@h2non h2non closed this as completed Feb 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants