-
Notifications
You must be signed in to change notification settings - Fork 930
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
Make Remixd compatible with Node.js 12 version #497
Comments
After review carefully I realized that the error is due some remixd dependencies are not compatible with Node.js latest version (12). It supports only LTS version (10). I downgraded my Node.js version and it worked. |
I am updating this issue to enhancement in order to correctly ask to dev team to upgrade the dependencies in order to make remixd compatible with Node.js latest version. |
Hello @jeffprestes , This should be working fine now. Can you please check it with latest remixd v0.6.11 ? |
I've tried to execute '''npm i remixd -g'''
And I am getting several npm errors:
../src/node-boilerplate/scrypt_params_async.cc:25:64: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
obj->Set(Nan::New("p").ToLocalChecked(), Nan::New(p));
^
In file included from /home/jeffprestes/.node-gyp/12.1.0/include/node/v8-internal.h:14:0,
from /home/jeffprestes/.node-gyp/12.1.0/include/node/v8.h:25,
from /home/jeffprestes/.node-gyp/12.1.0/include/node/node.h:63,
from ../../nan/nan.h:53,
from ../src/node-boilerplate/scrypt_params_async.cc:1:
/home/jeffprestes/.node-gyp/12.1.0/include/node/v8.h:3359:26: note: declared here
bool Set(Local key, Local value));
^
/home/jeffprestes/.node-gyp/12.1.0/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator attribute((deprecated(message)))
^~~~~~~~~~
../src/node-boilerplate/scrypt_params_async.cc:32:25: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value*) const’ is deprecated [-Wdeprecated-declarations]
callback->Call(2, argv);
^
In file included from ../src/node-boilerplate/scrypt_params_async.cc:1:0:
../../nan/nan.h:1674:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^~~~
scrypt.target.mk:127: recipe for target 'Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o' failed
make: *** [Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o] Error 1
make: Leaving directory '/home/jeffprestes/.npm-global/lib/node_modules/remixd/node_modules/scrypt/build'
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:196:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:256:12)
gyp ERR! System Linux 4.18.0-18-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/jeffprestes/.npm-global/lib/node_modules/remixd/node_modules/scrypt
gyp ERR! node -v v12.1.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/remixd/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! scrypt@6.0.3 install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the scrypt@6.0.3 install script.
Is there any clue about how to fix this?
The text was updated successfully, but these errors were encountered: