You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on that path, it looks like it is trying to use a Windows installation of nvs from within WSL2. I'm not sure if that's possible, but anyway it's not something that is intended to work. Even if it did work, it would run the Windows version of node / npm, which is probably not what you want from within WSL2.
Instead you should separately install nvs on WSL2 using the Linux installation instructions. Also make sure the PATH variable in WSL2 does not include any Windows nvs paths, to prevent confusion.
So the reason I was pursuing installing it on Windows was because Android SDK Emulator and Ganache (for Blockchain Development) require NodeJS on Windows to hook in, so I wanted to run one NodeJS installation. I ended up installing default nodejs and aliasing npm, node and npx to powershell.exe npm etc. and it works quite well :)
After searching and trying the solutions presented in the previous thread (closed #139 ) I can't seem to fix my installation of NPM with Windows 10
When entering
npm
on WSL2 Ubuntu I get the following https://i.imgur.com/XA2hs6X.png/c/Users/zachh/AppData/Local/nvs/default/npm: 11: exec: node: Permission Denied
however I can't use sudo as it's not installed on Linux.It was working originally, but after trying to install Truffle globally it broke and just gave me permission denied
I tried following the steps in #139 but nothing worked, also tried reinstalling nvs, refreshing the links, etc. nothing seems to be working
The text was updated successfully, but these errors were encountered: