New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 7 x64 npm installation issue #405
Comments
Python is used in the build system node uses to compile 3rd party C/C++ add ons (node-waf & node-gyp). node-postgres is supposed to continue to install even if its internal compilation fails because it provides a production quality pure-javascript client. Recently another C/C++ addon got added as a dependency for an obscure feature and has been failing to compile on windows breaking the install process. I need to make the 3rd party add-on an optional dependency. Not having access to a windows box its hard for me to test...but I do have a fix in mind & will try to publish a version for you to test later today. Sorry for the headache! |
I checked that the If you need some help, I'm available... |
Thanks @tetri. Sorry for not pushing a version out yesterday...I'm gonna try to get to it today. |
I pushed a version making the dependency optional. This should fix your install issue. |
Sorry @brianc, but the installation still does not work due to the dependence of the |
What error are you getting? |
I'm having the same error that I reported in nodejs/node-gyp#296. |
Ditto for me: nodejs/node-gyp#312 |
Hey, if you don't use the native bindings (I don't either!) then you can use this: https://github.com/brianc/node-postgres-pure skip the pesky compile step all together. |
Please excuse this simple (klutz) question. I tried the npm install on postgres-pure, I got the error below. I assume I need to get GnuMake and add it to the path. But just to make sure, is this the MAKE that you want me to install? |
The npm install of the pure version is now working find for me (I have no idea what changed in the meantime since my last letter): https://github.com/brianc/node-postgres-pure, I am also really like the API and enjoy working with it. I will tell you how it works with PostGIS BTW( any idea what the warnings are about?) |
Not sure about that warning - it's not related to node-postgres. Glad it's working for you!! |
When I try to install pg module via npm I get the following errors:
Why Pyhton is nedded?
The text was updated successfully, but these errors were encountered: