Open yaquawa opened 3 years ago
Adding the following to ~/.npmrc
~/.npmrc
prefix=~/.npm-global
global-dirs won't parse the ~ as home directory but as a literal string ~, it should parse it as os.homedir().
~
os.homedir()
Note to self: We can use https://github.com/sindresorhus/untildify for this.
How to reproduce
Adding the following to
~/.npmrc
global-dirs won't parse the
~
as home directory but as a literal string~
, it should parse it asos.homedir()
.