-
-
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
Node V6 Incompatibility? #1029
Comments
Sorry for the issue @stretchKids - can you provide a code sample that works On Monday, May 23, 2016, Vitaly Tomilov [email protected] wrote:
|
I had a similar issue when upgrading from node 5.x to 6.x and was able to fix it just by deleting node_modules folder, running npm install and redeploying the app. |
@apkoponen : In short you have just updated to newer release where bug has been solved :) I can confirm that I've experienced the same issue before pulling 6fddc56 that resolves it. |
Yup. |
I hade this problem as well, but it was solved by updating to version 5.0.0.
|
I have this "v8debug is not defined" problem with 6.2.0, but reinstalling the node modules didn't help. |
I have installed node-postgres on node v6 and v5 a whole bunch - never had any issues. I think it's something w/ your environment. Have you tried deleting |
I figured it out- the correct node option to use (on node 6.2.0) is: |
Weird - I don't have to do that. I just have 6.2 and i do On Wed, Jun 15, 2016 at 10:38 PM, Jason Tiscione [email protected]
|
Whoops- I didn't see the part of the original post where he mentions his Webstorm problem being fixed by "--expose-debug-as=v8debug". Since I'm also using Webstorm I figure it must be a bug on their end. |
Just randomly came across this bug looking for something else. Just to clarify - the v8debug issue is related to WebStorm and has nothing to do with We are using pg (not directly - through loopback) with Node 6.2.1 and have no issues (with pg) |
Ah thanks for the update from both @jtiscione and @jbcpollak! Really appreciate y'all diving in on things like this that are slightly outside of the wheelhouse of the lib in general but still impact the community! |
I tried building our environment with Node V6.2. We had been using Node V5.7 but since have tested with Node V5.9.1. The app has been developed under Windows 10 and deployed under Ubuntu 15.10 moving to 16.04 LTS.
Under Node V6 we hit 3 problems:
All the problems disappeared when reverting to Node v5.9.1
The Webstorm problem is still outstanding with a workaround adding --expose-debug-as=v8debug to "Node parameters" buried on their issues database.
PM2 has a fix in 1.1.3 (not in Ubuntu package repository at this time) labeled "node v6 compat" that consists of removing a call to hasOwnProperty in a wrapper around a cloning function.
Is this a known node-postgres to Node v6 compatibility issue?
The text was updated successfully, but these errors were encountered: