-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hello @jonschlinkert,
When I use npm-check --global --update, which depends on global-modules and finally global-prefix, I've got an incorrect path error which points to ${HOME}/.npm-packages instead of the actual absolute path.
I've done a little bit of digging inside global-prefix and ${HOME}/.npm-packages seems to be returned from tryConfigPath(configPath). Looks like the value of ${HOME} is not parsed with the actual value.
I'm not sure if I should fix this here or if the cause is coming from some other component (i.e: npm-check, node or npm version...).
Here's my config:
- Node 8.9.0
- Npm 5.5.1
Let me know if I can do a PR to fix it 😃
Metadata
Metadata
Assignees
Labels
No labels