Skip to content
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

Unable to build: ‘class v8::Object’ has no member named ‘ForceSet’ #195

Open
2m opened this issue May 16, 2018 · 13 comments
Open

Unable to build: ‘class v8::Object’ has no member named ‘ForceSet’ #195

2m opened this issue May 16, 2018 · 13 comments

Comments

@2m
Copy link

2m commented May 16, 2018

../../nan/nan_maybe_43_inl.h:88:15: error: ‘class v8::Object’ has no member named ‘ForceSet’
   return obj->ForceSet(GetCurrentContext(), key, value, attribs);
               ^~~~~~~~
In file included from ../src/unix/pty.cc:20:
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:235:12)
gyp ERR! System Linux 4.16.8-1-ARCH
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/martynas/node_modules/pty.js
gyp ERR! node -v v10.1.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
@ghost
Copy link

ghost commented May 16, 2018

Found this, maybe related? nodejs/node#20770

@ghost
Copy link

ghost commented May 16, 2018

i switched my node version to 8 and it installed correctly

@LoganDark
Copy link

@chjj fix please!

@keivanh
Copy link

keivanh commented Jan 9, 2019

Doesn't work on 11.6.0

@LoganDark
Copy link

@keivanh we know

@keivanh
Copy link

keivanh commented Jan 9, 2019

Any workaround meanwhile? What is max Node version support this?

@LoganDark
Copy link

@keivanh node 8, the long term support version, see #195 (comment)

@RossComputerGuy
Copy link

Doesn't work on node v11.12.0

@gustawdaniel
Copy link

I have this problem on node v10.15.0

@midnightcodr
Copy link

node 8 is supported till 2019-12-31, what should we do after that?

@paulirish
Copy link

afaik this project is abandoned.

https://github.com/Microsoft/node-pty is fork that's maintained by msft and used in vscode.

It was a perfect drop-in replacement in my project. g'luck! 🍀

@liswin
Copy link

liswin commented Sep 15, 2020

You could get this to work on a node v10.x with @paulirish answer.

@LordZardeck
Copy link

This is because of outdated version of nan. However, this project won't work on later versions of node anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants