Copy paste all the folders under this node_modules to C:\Program Files\nodejs\node modules\npm\nodemodules.Īdd entry of the dependencies (of the packages you want to install in the package.json under C:\Program Files\nodejs\node_modules\npm\package.json as Run command npm install \AppDate\Roaming\npm\nodemodules. Make sure your PATH environment variable points to the right location of nodejs, typically C:\Program Files\nodejs.īack to cmd, cd into (go to) C:\Program Files\nodejs\node modules\npm\nodemodules I am not sure exactly what part of my steps fixed it, but if you have these problems, worth trying! I followed a few logical steps and now it works. While executing "npm install express" and then "npm install" it always threw me an error saying that the dependencies cannot be read. If you are trying to install nom packages on Windows, you will face all sorts of problems. NODE SINCE VERSIONS > 0.6 INSTALL NPM ALONG WITH ITSELF
0 Comments
Leave a Reply. |