Node-postgres: npm install pg error

Created on 2 Jun 2016  ·  11Comments  ·  Source: brianc/node-postgres

hello
a have a probleme with i
install modules pg any help please
koka

Most helpful comment

That looks like an issue with mom, not this module

On Thursday, June 2, 2016, Oulayatse [email protected] wrote:

hello
a have a probleme with i
install modules pg any help please
[image: koka]
https://cloud.githubusercontent.com/assets/15874006/15741407/e0f1a41e-28b9-11e6-9782-2422cb8b6722.PNG


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/brianc/node-postgres/issues/1037, or mute the thread
https://github.com/notifications/unsubscribe/AADDoRd-lnjPqpzjzLkQoklF5t8GqdvCks5qHqo5gaJpZM4IsZN0
.

All 11 comments

That looks like an issue with mom, not this module

On Thursday, June 2, 2016, Oulayatse [email protected] wrote:

hello
a have a probleme with i
install modules pg any help please
[image: koka]
https://cloud.githubusercontent.com/assets/15874006/15741407/e0f1a41e-28b9-11e6-9782-2422cb8b6722.PNG


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/brianc/node-postgres/issues/1037, or mute the thread
https://github.com/notifications/unsubscribe/AADDoRd-lnjPqpzjzLkQoklF5t8GqdvCks5qHqo5gaJpZM4IsZN0
.

i didn't understand can you explain please

can any one help me please

Running npm install pg will create a folder node_modules in your current directory, and you are doing this inc:/Program FIles. Only administrators can do this : you can run your command prompt as Administrator or execute this command in another folder which is not protected by admin rights.

i run it as admin wits c:usersxxxx and didnt work

kkk

As written, This is most likely not a problem with npm itself and is related to network connectivity : you should Google the error, and close this issue because the error is not linked to this module.

i google it without result

Really? I just did a google search for npm ECONNRESET 407 and got several hundred results. Having said that though, this error is very likely totally unrelated to npm and more to do with the way your network is configured.

The error message reads:

In most cases you are behind a proxy or have bad network settings.
If you are behind a proxy, please make sure that the 'proxy' config is set properly.

I would check your network connectivity settings, make sure you're not running behind a proxy and, if you are? Use npm help config for more information on how to set up npm to work with your proxy.

This is unrelated to pg itself.

@brianc I think this can be closed.

👍

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ClueLessEggHead picture ClueLessEggHead  ·  3Comments

dipakdas99 picture dipakdas99  ·  3Comments

gregallenvt picture gregallenvt  ·  3Comments

frmoded picture frmoded  ·  3Comments

Cosrnos picture Cosrnos  ·  3Comments