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
Installing Node and NPM. Need to confirm Bash on Ubuntu on Windows #3111
Comments
please follow the issue reporting template as specified by the WSL team. nodejs provides packages for ubuntu that you can easily install either via their setup script (https://github.com/nodesource/distributions#debinstall) or manually (https://github.com/nodesource/distributions#debmanual).
|
Thank you @heldchen. The packages you mentioned are provided by nodesource, not by the nodejs.org. As for the reporting template, It was build for reporting a bug, so I thought it is not completely relevant. |
I installed node 10.12.0, but on
|
Same error as @logicware here when trying to execute npm |
@nicowernli |
Use NVM, easiest setup for both npm & node out there. |
In my case, I needed to separately install npm with sudo apt install npm restart my shell and update npm with sudo npm i -g npm@latest then restart my shell again to get it updated |
but npm is not working. I am getting this: npm --version : not foundram Files/nodejs/npm: 3: /mnt/c/Program Files/nodejs/npm: : not foundram Files/nodejs/npm: 5: /mnt/c/Program Files/nodejs/npm: /mnt/c/Program Files/nodejs/npm: 6: /mnt/c/Program Files/nodejs/npm: Syntax error: word unexpected (expecting "in") |
I need to install Node and NPM, and on the download page for unix I need to choose between 5 different options: 32bits, 64 bits, ArmV6, ArmV7, Armv8. I couldn't find Bash/Ubuntu in any directory, and not in the 64 bit program directory. If my Windows is 64 bit, can I assume that Bash/Ubuntu will be 64 bits as well, and that that is the right file to download?
Arms themselves are either 32 or 64 bit so this left me a confused. Are Arm versions meant for mobile devices?
The text was updated successfully, but these errors were encountered: