Picture of James Wan
Issues with node
by James Wan - Tuesday, 19 January 2021, 4:08 PM
 

Hi,

I have had to rebuild my computer and have copied the instance of adapt that i was running on my previous build.

I have installed node v4.4.7. However, when I try to run npm install -g grunt-cli I get the error detailed below. Has anyone encountered this before? (versions are: Authoring Tool v0.3.0 and Framework v2.2.2).

____

C:\>npm install -g grunt-cli

npm ERR! Windows_NT 10.0.18363
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "grunt-cli"
npm ERR! node v4.4.7
npm ERR! npm v2.15.8
npm ERR! code ECONNRESET

npm ERR! network tunneling socket could not be established, cause=Parse Error
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! Please include the following file with any support request:
npm ERR! C:\npm-debug.log

Picture of Matt Leathes
Re: Issues with node
by Matt Leathes - Tuesday, 19 January 2021, 5:00 PM
 
In most cases you are behind a proxy or have bad network settings

Are you behind a proxy?

Try googling the error message e.g. https://www.google.com/search?q=%22npm+ERR%21+network+tunneling+socket+could+not+be+established%22

Picture of James Wan
Re: Issues with node
by James Wan - Wednesday, 20 January 2021, 5:59 AM
 

Thanks Matt, yes I am behind a proxy.