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
Here is what happened when I installed using the latest node.js on Windows 10:
C:\Web\git>npm install --production
npm WARN saveError ENOENT: no such file or directory, open 'C:\Web\git\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'C:\Web\git\package.json'
npm WARN git No description
npm WARN git No repository field.
npm WARN git No README data
npm WARN git No license field.
up to date in 2.334s
found 0 vulnerabilities
The text was updated successfully, but these errors were encountered:
These are the messages that appear when you run the npm install in a directory where there is not package.json file.
From the path that is mentioned in the warnings, it looks like you did not cd in to the actual repository directory.
Here is what happened when I installed using the latest node.js on Windows 10:
C:\Web\git>npm install --production
npm WARN saveError ENOENT: no such file or directory, open 'C:\Web\git\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'C:\Web\git\package.json'
npm WARN git No description
npm WARN git No repository field.
npm WARN git No README data
npm WARN git No license field.
up to date in 2.334s
found 0 vulnerabilities
The text was updated successfully, but these errors were encountered: