error installing github npm

Asked

Viewed 85 times

1

I installed npm and set up my proxy after that when I try to install any library for example git hub, it appears these errors:

npm ERR! node v6.11.3
npm ERR! npm  v3.10.10
npm ERR! code HPE_INVALID_CONSTANT
npm ERR! Parse Error

Based on a setup tutorial:

npm config set proxy http://usuario:password@host_proxy:port_proxy

in local network settings (lan) (on my windowns) address: plimbr.com.br port: 8080 and my network user and password is p454647 password 12345

my configuration from this information put like this:

npm config set proxy http://p454647:[email protected]:8080

  • 1

    Which command is trying to execute?

  • npm install github. But I actually did some other tests and they all make a mistake

  • 1

    It seems to be related to your proxy configuration. You can post it here?

  • @ruanmartinelli I do not know if it is configured correctly

1 answer

0


Open cmd and write: npm config Edit

after that the npm settings file will be opened. Ai just change the settings via http and https for these items that you have placed, it seems to be right.

  • It worked out! Thanks

Browser other questions tagged

You are not signed in. Login or sign up in order to post.