I have installed ubuntu 18.04 on my Windows 10 SubSystem. I am getting the following error when type npm and press enter. I get same error when I try to execute git commit "test"
: 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")NodeJs v8.10.0 is installed already on the sub-system.