I'm using the visual studio code terminal to install jquery in my project but when I want to install it I get that error and the package that comes out there already erases it
The error says that the project does not have package.json
and this is necessary for the npm operations.
First, check that you are on the correct path where the package.json
is.
If you do not have it, what you should do is npm init
, follow the steps and then do npm install jquery