The errors looked like this:
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")
Here's the fix
$ sudo apt-get update
$ sudo apt-get install -y nodejs
$ sudo apt-get install build-essential
$ sudo apt get install npm
**CLOSE AND REOPEN TERMINAL**
I found it here: https://github.com/microsoft/WSL/issues/1512
BTW -- example split-pane keys: Alt+Shift+-, Alt+Shift+= will split horizontally and vertically.
No comments:
Post a Comment