Maddy plus plus Maddy plus plus - 1 month ago 15
jQuery Question

Installed package through npm but it does not show in folder

I was trying to install jquery through npm but after using following command:


npm install jquery


I opened the destination folder and the folder was empty.
(I copied the following text from cmd)

> C:\Users\mandar\Desktop\Mady>npm install jquery

C:\Users\mandar
`-- jquery@3.1.1

> npm WARN enoent ENOENT: no such file or directory, open
> 'C:\Users\mandar\package.json'

npm WARN mandar No description
npm WARN mandar No repository field.
npm WARN mandar No README data
npm WARN mandar No license field.


What am I doing wrong? Please help me

Answer

create package.json file manually or through cmd by command npm init or npm install jquery --save