Reputation: 1
npm install output:
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
+ [email protected]
updated 1 package and audited 518 packages in 5.404s
found 0 vulnerabilities
How can it be added in package.json
Upvotes: 0
Views: 2643
Reputation: 739
You should include the command you're executing.
However, I assume that you executed npm install
. To add a package to dependencies you should do npm install --save
or npm install --save-dev
.
More info in the documentation https://docs.npmjs.com/cli/install
Upvotes: 0