Thanks for helping. I went to the package.json file and added the dependency as
"dependencies": { "jquery": "2.1.1" }
after that I did sudo npm update to an existing project and changed the jquery version to 2.1.1. I assume sudo npm install will also have the same effect
source share