Maddy plus plus Maddy plus plus - 2 years ago 143
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

`-- [email protected]

> 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 Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download