question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

build error with node v11

See original GitHub issue

Detailed Description

Trying to install with yarn global add local-npm, but got the following build error:

In file included from ../../nan/nan.h:192:0,
                 from ../src/batch.cc:3:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe<bool> Nan::ForceSet(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’:
../../nan/nan_maybe_43_inl.h:112:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
   return obj->ForceSet(isolate->GetCurrentContext(), key, value, attribs);

Full build output is attached. log.txt

Your Environment

  • Operating System and version: Ubuntu 16.04.1
  • node: v11.15.0
  • yarn: 1.15.2
  • npm: 6.7.0

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

3reactions
pkulijingcommented, May 13, 2019

Tested using node dockers of different versions. The installation works on node:8, but fails for node:10 and node:11.

0reactions
Moanrisycommented, Jul 16, 2020

I’m installing with 8.17.0 work too

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix 'npm does not support Node.js v11.14.0 error' on ...
After installing current NodeJS LTS, I still get npm does not support Node.js {version} .
Read more >
node-pre-gyp build fail error while installing with npm ... - GitHub
If I continued having issues I would probably nuke the node_modules, install fresh, try to manually install whatever was causing the issues, ...
Read more >
Installing a custom version of NVM and Node.js
Overview This article walks you through installing Node.js using Node Version ... If you see an error such as setfattr: /nvm.sh: No such...
Read more >
Download & Update Node.js to the Latest Version! Node v19 ...
Direct download links to update to the latest Node.js versions: Node v19.0.0 / LTS v16.18.0.
Read more >
Node.js - CloudBees Documentation
js versions. During the Preparing Bionic Build Container step of the build, CodeShip attempts to read the Node.js version set in package.json and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found