'When I try to install npm for javascript on Windows, it fails

0

i am trying to install npm libraries on windows to work with javascript but it showing this error in cmd...

C:\Users\tusha>npm install

npm ERR! code ENOENT

npm ERR! syscall open

npm ERR! path C:\Users\tusha/package.json

npm ERR! errno -4058 tampa junk cars

npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\tusha\package.json'

npm ERR! enoent This is related to npm not being able to find a file.

npm ERR! enoent



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source