Skip to content

Node V6 Incompatibility? #1029

Closed
Closed
@KZRepository

Description

@KZRepository

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:

  1. Postgres 9.4 and 9.5.3 returned password authentication failure
  2. PM2 1.0.2 would not return after starting a process
  3. When trying to debug under Webstorm 16.1.2 on Windows, the it failed with a "ReferenceError: v8debug is not defined".

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions