npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

package.json file is not getting created

npm WARN saveError ENOENT: no such file or directory, open ‘C:\Users\user\package.json’
npm WARN enoent ENOENT: no such file or directory, open ‘C:\Users\user\package.json’
npm WARN user No description
npm WARN user No repository field.
npm WARN user No README data
npm WARN user No license field.

updated 387 packages and audited 5019 packages in 33.938s
found 3 high severity vulnerabilities
run npm audit fix to fix them, or npm audit for details


You can use npm init to create a package.json by answering the questions.