Skip to content

Can't build with node v12.6.0/npm 6.12.0  #1948

@dlvovsky

Description

@dlvovsky

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Version

v4

Describe the bug

Can't build using node v12.6.0/npm 6.12.0
errors:
../../nan/nan_object_wrap.h:24:25: error: no member named 'IsNearDeath' in 'Nan::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> >' assert(persistent().IsNearDeath());

To Reproduce

Steps to reproduce the behavior:
1- git checkout v4
2- npm i -g lerna@3.4.0 gulp@4.0.0 gulp-cli@2.0.1 webpack@4.8.x jest
3- lerna bootstrap --hoist
4- npm run build

Expected behavior

Should build without error.

Screenshots

None

Additional context

None

[bug]

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugYour classic code defectcustomer-replied-toRequired for internal reporting. Do not delete.customer-reportedRequired for internal Azure reporting. Do not delete.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions