educative.io

Geting this while installing jquery ,what to do?

geting this while installing jquery ,what to do now please help?

Type your question above this line.

Course: https://www.educative.io/collection/10370001/5551624074297344
Lesson: https://www.educative.io/collection/page/10370001/5551624074297344/5123837949640704

Hello @Ashutosh_Kumar_Singh

You have to enter the following commands:

cd /usr/lib/node_modules/npm
npm install jquery --save

inside the terminal provided in the lesson and not inside your local terminal.

However, if you are trying to produce the results locally on your machine, please make sure the appropriate files and folders exist on your local machine and that the path to them is correct.

Hope this helps!

1 Like

which appropriate file you are talking about? index.html ?or node js folder ?

I am talking about /usr/lib/node_modules/npm. Make sure this path exists in your local machine. This is what the error in your terminal is signalling.