Reputation: 7359
I am having so much problems with the proxy system of my entertprise
I was changing parameter using npm config set changing the variable proxy and http-proxy.
I installed in my .npmrc next lines
npm config set proxy http://my_user:[email protected]:8080 -g
npm config set https-proxy http://my_user:[email protected]:8080 -g
What I have in my mind it is try to install grunt in VS2012 without using npm, maybe like nuget.
Is it possible?
I am getting this error page when I am using npm install -g grunt-cli
:
Upvotes: 8
Views: 3274
Reputation: 1726
Yes it is possible, you can download grunt and run it in your node.js environment, if your only problem is proxy or firewall but you have working node.js environment then just download it from the github.
You can download any npm package which is published also on the github and then copy it manually to you node_modules
folder. Just beware that those packages may have dependencies on their own. SO that means you should run npm install
in those downloaded folders and if it doesn't work do it manually for every dependency recursively until you are finished.
Upvotes: 4
Reputation: 8588
No, it is not possible.
This is from the Grunt getting started guide:
Grunt and Grunt plugins are installed and managed via npm, the Node.js package manager. Grunt 0.4.x requires stable Node.js versions >= 0.8.0. Odd version numbers of Node.js are considered unstable development versions.
Upvotes: 3