Re: npm global prefix needs to be a writeable directory

2020-11-26 Thread Jelle Licht
Ryan Prior writes: > On November 26, 2020, Jelle Licht wrote: >> On other distros it defaults to a location that is not writable by >> normal users either; > > Indeed I can confirm that Ubuntu node also has this problem. > >> Another way folks solved this problem has been using "nvm" which in >>

Re: npm global prefix needs to be a writeable directory

2020-11-25 Thread Ryan Prior
On November 26, 2020, Jelle Licht wrote: > On other distros it defaults to a location that is not writable by > normal users either; Indeed I can confirm that Ubuntu node also has this problem. > Node doesn't do this on other distros either, correct? > [snip] > Another way folks solved this prob

Re: npm global prefix needs to be a writeable directory

2020-11-25 Thread Jelle Licht
Hey, Ryan Prior writes: > Hi folks! I stumbled across an issue with the node package today and > wanted to send a report before I forget. > > npm assumes that the global prefix is a writeable folder. Operations > like `npm link` will fail if it isn't. Right now our node package > doesn't set a p

npm global prefix needs to be a writeable directory

2020-11-25 Thread Ryan Prior
Hi folks! I stumbled across an issue with the node package today and wanted to send a report before I forget. npm assumes that the global prefix is a writeable folder. Operations like `npm link` will fail if it isn't. Right now our node package doesn't set a prefix, so it defaults to the package's