Npm node js can't find package.json
The most important things in your package.json are the name and version fields. Those are actually required, and your package won't install without them. The name and version together form an identifier that is assumed to be completely unique. Changes to the package should come along with changes to the version.
npm --version
npm install express
npm init -y
More reference:
https://docs.npmjs.com/files/package.json
The most important things in your package.json are the name and version fields. Those are actually required, and your package won't install without them. The name and version together form an identifier that is assumed to be completely unique. Changes to the package should come along with changes to the version.
npm --version
npm install express
npm init -y
More reference:
https://docs.npmjs.com/files/package.json