-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Installing "pg" with Node v0.11.4 fails with Buffer related errors (because of ref) #411
Comments
Oh, and |
My build log with errors:
|
I'm tempted to remove the dependency on |
I've got your back! Less of "pg" is better than not-working "pg" any time! |
Newest version drops requirement for the |
Good news! I can confirm However, Top of the errors look as follows:
This is with the stock Node v0.11.4 from Mac's homebrew.
|
I really appreciate your issue report. Extremely thorough and easy to tell what's wrong. It shouldn't be a hard fix, I just need to find what node's using now instead of the |
K I got some info from #libuv freenode. I can fix this pretty quickly. |
Thank you for thanking me and thank you for p-gee! |
@brianc If you can find the time to share the information about the solution I can maybe do the implementation. |
@booo last time I checked (two weeks ago) they are still modifying the C++ API so I wouldn't sweat it until it gets closer to v0.12.0 release. At that time I'll let you know - I think someone mentioned releasing a migration guide when it gets closer. Both the V8 api and node C++ api have changed. |
You can use this in the mean time: https://github.com/brianc/node-postgres-pure |
I think I got this fixed thanks to the lovely NaN module & some hard work refactoring everything. If you give the new |
Gotcha. Thanks! Will give it a look. |
After
npm install pg
I'm greeted with:And on that bombshell, have a great Sunday!
The text was updated successfully, but these errors were encountered: