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

Problem while building module in nodejs #74

Open
TamimEhsan opened this issue Aug 6, 2023 · 3 comments
Open

Problem while building module in nodejs #74

TamimEhsan opened this issue Aug 6, 2023 · 3 comments

Comments

@TamimEhsan
Copy link

TamimEhsan commented Aug 6, 2023

While building the nodejs version of the judger i am getting the following error,

../judger.cc:229:95: error: no matching function for call to ‘v8::Object::Set(v8::MaybeLocal<v8::String>, v8::Local<v8::Integer>)’

my node version is v16.20.1
and npm version is 8.19.4

I tried it with version node v18 and node v20 too

@wangxso
Copy link

wangxso commented Aug 8, 2023

Can you describe how you to do?

While building the nodejs version of the judger i am getting the following error,

../judger.cc:229:95: error: no matching function for call to ‘v8::Object::Set(v8::MaybeLocal<v8::String>, v8::Local<v8::Integer>)’

my node version is v16.20.1 and npm version is 8.19.4

I tried it with version node v18 and node v20 too

@TamimEhsan
Copy link
Author

ran the command npm install inside directory Judger-1.5\bindings\NodeJS
although the readme instructs to ran two more command, but i face error at the first one

@wangxso
Copy link

wangxso commented Aug 21, 2023

ran the command npm install inside directory Judger-1.5\bindings\NodeJS although the readme instructs to ran two more command, but i face error at the first one

The new version nodejs is changed a lot. and I also got this result in v16.20.1 and I recommand you use the version v8.12.0.

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

2 participants