"npm install" fails on node v8.9.3 npm 5.6.0 Ubuntu 17.10 Linux
See original GitHub issue$ git clone git@github.com:input-output-hk/daedalus.git
I am current as of commit ab6aab0c5203e9bad9af66d17ad65b460f61f226
Here is the output from “npm install”:
$ LANG=C npm install
> daedalus@0.8.0 preinstall /var/tmp/daedalus
> which electron || npm install electron@1.7.9
> electron@1.7.9 postinstall /var/tmp/daedalus/node_modules/electron
> node install.js
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN daedalus@0.8.0 No repository field.
npm WARN daedalus@0.8.0 No license field.
+ electron@1.7.9
added 154 packages in 6.125s
npm WARN deprecated babel-preset-es2015@6.24.0: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated babel-preset-latest@6.16.0: We're super 😸 excited that you're trying to use ES2017+ syntax, but instead of making more yearly presets 😭 , Babel now has a better preset that we recommend you use instead: npm install babel-preset-env --save-dev. preset-env without options will compile ES2015+ down to ES5 just like using all the presets together and thus is more future proof. It also allows you to target specific browsers so that Babel can do less work and you can ship native ES2015+ to user 😎 ! We are also in the process of releasing v7, so please give http://babeljs.io/blog/2017/09/12/planning-for-7.0 a read and help test it out in beta! Thanks so much for using Babel 🙏, please give us a follow on Twitter @babeljs for news on Babel, join slack.babeljs.io for discussion/development and help support the project at opencollective.com/babel
npm WARN deprecated babel-preset-es2016@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated babel-preset-es2017@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm WARN deprecated fs-promise@2.0.3: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated tar.gz@1.0.7: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
> v8-profiler@5.6.5 preinstall /var/tmp/daedalus/node_modules/electron-inspector/node_modules/v8-profiler
> node -e 'process.exit(0)'
> v8-debug@0.7.7 preinstall /var/tmp/daedalus/node_modules/electron-inspector/node_modules/v8-debug
> node -e 'process.exit(0)'
> scrypt@6.0.3 preinstall /var/tmp/daedalus/node_modules/scrypt
> node node-scrypt-preinstall.js
> electron-chromedriver@1.7.1 install /var/tmp/daedalus/node_modules/electron-chromedriver
> node ./download-chromedriver.js
> scrypt@6.0.3 install /var/tmp/daedalus/node_modules/scrypt
> node-gyp rebuild
make: Entering directory '/var/tmp/daedalus/node_modules/scrypt/build'
SOLINK_MODULE(target) Release/obj.target/copied_files.node
COPY Release/copied_files.node
CC(target) Release/obj.target/scrypt_wrapper/src/util/memlimit.o
CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/keyderivation.o
CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/pickparams.o
CC(target) Release/obj.target/scrypt_wrapper/src/scryptwrapper/hash.o
AR(target) Release/obj.target/scrypt_wrapper.a
COPY Release/scrypt_wrapper.a
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt.o
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/crypto/crypto_scrypt_smix.o
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/warnp.o
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/alg/sha256.o
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/libcperciva/util/insecure_memzero.o
CC(target) Release/obj.target/scrypt_lib/scrypt/scrypt-1.2.0/lib/scryptenc/scryptenc_cpuperf.o
AR(target) Release/obj.target/scrypt_lib.a
COPY Release/scrypt_lib.a
CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_common.o
CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_async.o
CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_params_sync.o
CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_kdf_async.o
CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_kdf_sync.o
CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_kdf-verify_sync.o
CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_kdf-verify_async.o
CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_hash_sync.o
CXX(target) Release/obj.target/scrypt/src/node-boilerplate/scrypt_hash_async.o
CXX(target) Release/obj.target/scrypt/scrypt_node.o
SOLINK_MODULE(target) Release/obj.target/scrypt.node
COPY Release/scrypt.node
make: Leaving directory '/var/tmp/daedalus/node_modules/scrypt/build'
> sha3@1.2.0 install /var/tmp/daedalus/node_modules/sha3
> node-gyp rebuild
make: Entering directory '/var/tmp/daedalus/node_modules/sha3/build'
CXX(target) Release/obj.target/sha3/src/addon.o
../src/addon.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE SHA3Hash::New(Nan::NAN_METHOD_ARGS_TYPE)':
../src/addon.cpp:49:23: warning: 'new' of type 'SHA3Hash' with extended alignment 32 [-Waligned-new=]
obj = new SHA3Hash();
^
../src/addon.cpp:49:23: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
../src/addon.cpp:49:23: note: use '-faligned-new' to enable C++17 over-aligned new support
../src/addon.cpp:59:58: warning: 'v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
info.GetReturnValue().Set(cons->NewInstance(argc, argv));
^
In file included from /home/user/.node-gyp/8.9.3/include/node/v8.h:26:0,
from /home/user/.node-gyp/8.9.3/include/node/node.h:63,
from ../src/addon.cpp:1:
/home/user/.node-gyp/8.9.3/include/node/v8.h:3832:31: note: declared here
Local<Object> NewInstance(int argc, Local<Value> argv[]) const);
^
/home/user/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
CXX(target) Release/obj.target/sha3/src/displayIntermediateValues.o
CXX(target) Release/obj.target/sha3/src/KeccakF-1600-reference.o
CXX(target) Release/obj.target/sha3/src/KeccakNISTInterface.o
CXX(target) Release/obj.target/sha3/src/KeccakSponge.o
SOLINK_MODULE(target) Release/obj.target/sha3.node
COPY Release/sha3.node
make: Leaving directory '/var/tmp/daedalus/node_modules/sha3/build'
> v8-debug@0.7.7 install /var/tmp/daedalus/node_modules/electron-inspector/node_modules/v8-debug
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(404): https://node-inspector.s3.amazonaws.com/debug/v0.7.7/node-v57-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for v8-debug@0.7.7 and node@8.9.3 (node-v57 ABI, glibc) (falling back to source compile with node-gyp)
make: Entering directory '/var/tmp/daedalus/node_modules/electron-inspector/node_modules/v8-debug/build'
CXX(target) Release/obj.target/debug/src/debug.o
../src/debug.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE nodex::Debug::Call(Nan::NAN_METHOD_ARGS_TYPE)':
../src/debug.cc:38:20: warning: 'static v8::MaybeLocal<v8::Value> v8::Debug::Call(v8::Local<v8::Context>, v8::Local<v8::Function>, v8::Local<v8::Value>)' is deprecated: No longer supported [-Wdeprecated-declarations]
v8::Debug::Call(fn);
^~~~
In file included from /home/user/.node-gyp/8.9.3/include/node/v8.h:26:0,
from /home/user/.node-gyp/8.9.3/include/node/v8-debug.h:8,
from ../src/debug.cc:1:
/home/user/.node-gyp/8.9.3/include/node/v8-debug.h:193:42: note: declared here
static MaybeLocal<Value> Call(
^
/home/user/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/debug.cc:38:27: error: no matching function for call to 'v8::Debug::Call(v8::Local<v8::Function>&)'
v8::Debug::Call(fn);
^
In file included from /home/user/.node-gyp/8.9.3/include/node/v8.h:26:0,
from /home/user/.node-gyp/8.9.3/include/node/v8-debug.h:8,
from ../src/debug.cc:1:
/home/user/.node-gyp/8.9.3/include/node/v8-debug.h:193:42: note: candidate: static v8::MaybeLocal<v8::Value> v8::Debug::Call(v8::Local<v8::Context>, v8::Local<v8::Function>, v8::Local<v8::Value>)
static MaybeLocal<Value> Call(
^
/home/user/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/user/.node-gyp/8.9.3/include/node/v8-debug.h:193:42: note: candidate expects 3 arguments, 1 provided
static MaybeLocal<Value> Call(
^
/home/user/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/debug.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE nodex::Debug::SendCommand(Nan::NAN_METHOD_ARGS_TYPE)':
../src/debug.cc:46:45: warning: 'static v8::Local<v8::Context> v8::Debug::GetDebugContext(v8::Isolate*)' is deprecated: Use v8-inspector [-Wdeprecated-declarations]
Isolate* debug_isolate = v8::Debug::GetDebugContext()->GetIsolate();
^~~~~~~~~~~~~~~
In file included from /home/user/.node-gyp/8.9.3/include/node/v8.h:26:0,
from /home/user/.node-gyp/8.9.3/include/node/v8-debug.h:8,
from ../src/debug.cc:1:
/home/user/.node-gyp/8.9.3/include/node/v8-debug.h:209:39: note: declared here
static Local<Context> GetDebugContext(Isolate* isolate));
^
/home/user/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/debug.cc:46:61: error: no matching function for call to 'v8::Debug::GetDebugContext()'
Isolate* debug_isolate = v8::Debug::GetDebugContext()->GetIsolate();
^
In file included from /home/user/.node-gyp/8.9.3/include/node/v8.h:26:0,
from /home/user/.node-gyp/8.9.3/include/node/v8-debug.h:8,
from ../src/debug.cc:1:
/home/user/.node-gyp/8.9.3/include/node/v8-debug.h:209:39: note: candidate: static v8::Local<v8::Context> v8::Debug::GetDebugContext(v8::Isolate*)
static Local<Context> GetDebugContext(Isolate* isolate));
^
/home/user/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/user/.node-gyp/8.9.3/include/node/v8-debug.h:209:39: note: candidate expects 1 argument, 0 provided
static Local<Context> GetDebugContext(Isolate* isolate));
^
/home/user/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/debug.cc:48:20: warning: 'static void v8::Debug::SendCommand(v8::Isolate*, const uint16_t*, int, v8::Debug::ClientData*)' is deprecated: No longer supported [-Wdeprecated-declarations]
v8::Debug::SendCommand(debug_isolate, *command, command.length());
^~~~~~~~~~~
In file included from /home/user/.node-gyp/8.9.3/include/node/v8.h:26:0,
from /home/user/.node-gyp/8.9.3/include/node/v8-debug.h:8,
from ../src/debug.cc:1:
/home/user/.node-gyp/8.9.3/include/node/v8-debug.h:170:29: note: declared here
static void SendCommand(Isolate* isolate,
^
/home/user/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/debug.cc:48:73: warning: 'static void v8::Debug::SendCommand(v8::Isolate*, const uint16_t*, int, v8::Debug::ClientData*)' is deprecated: No longer supported [-Wdeprecated-declarations]
v8::Debug::SendCommand(debug_isolate, *command, command.length());
^
In file included from /home/user/.node-gyp/8.9.3/include/node/v8.h:26:0,
from /home/user/.node-gyp/8.9.3/include/node/v8-debug.h:8,
from ../src/debug.cc:1:
/home/user/.node-gyp/8.9.3/include/node/v8-debug.h:170:29: note: declared here
static void SendCommand(Isolate* isolate,
^
/home/user/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/debug.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE nodex::Debug::RunScript(Nan::NAN_METHOD_ARGS_TYPE)':
../src/debug.cc:61:51: warning: 'static v8::Local<v8::Context> v8::Debug::GetDebugContext(v8::Isolate*)' is deprecated: Use v8-inspector [-Wdeprecated-declarations]
Local<Context> debug_context = v8::Debug::GetDebugContext();
^~~~~~~~~~~~~~~
In file included from /home/user/.node-gyp/8.9.3/include/node/v8.h:26:0,
from /home/user/.node-gyp/8.9.3/include/node/v8-debug.h:8,
from ../src/debug.cc:1:
/home/user/.node-gyp/8.9.3/include/node/v8-debug.h:209:39: note: declared here
static Local<Context> GetDebugContext(Isolate* isolate));
^
/home/user/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/debug.cc:61:67: error: no matching function for call to 'v8::Debug::GetDebugContext()'
Local<Context> debug_context = v8::Debug::GetDebugContext();
^
In file included from /home/user/.node-gyp/8.9.3/include/node/v8.h:26:0,
from /home/user/.node-gyp/8.9.3/include/node/v8-debug.h:8,
from ../src/debug.cc:1:
/home/user/.node-gyp/8.9.3/include/node/v8-debug.h:209:39: note: candidate: static v8::Local<v8::Context> v8::Debug::GetDebugContext(v8::Isolate*)
static Local<Context> GetDebugContext(Isolate* isolate));
^
/home/user/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/user/.node-gyp/8.9.3/include/node/v8-debug.h:209:39: note: candidate expects 1 argument, 0 provided
static Local<Context> GetDebugContext(Isolate* isolate));
^
/home/user/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/debug.cc:65:22: error: 'GetMirror' is not a member of 'v8::Debug'
v8::Debug::GetMirror(info.GetIsolate()->GetCurrentContext(), info[0]);
^~~~~~~~~
../src/debug.cc:66:38: warning: 'static v8::Local<v8::Context> v8::Debug::GetDebugContext(v8::Isolate*)' is deprecated: Use v8-inspector [-Wdeprecated-declarations]
debug_context = v8::Debug::GetDebugContext();
^~~~~~~~~~~~~~~
In file included from /home/user/.node-gyp/8.9.3/include/node/v8.h:26:0,
from /home/user/.node-gyp/8.9.3/include/node/v8-debug.h:8,
from ../src/debug.cc:1:
/home/user/.node-gyp/8.9.3/include/node/v8-debug.h:209:39: note: declared here
static Local<Context> GetDebugContext(Isolate* isolate));
^
/home/user/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/debug.cc:66:54: error: no matching function for call to 'v8::Debug::GetDebugContext()'
debug_context = v8::Debug::GetDebugContext();
^
In file included from /home/user/.node-gyp/8.9.3/include/node/v8.h:26:0,
from /home/user/.node-gyp/8.9.3/include/node/v8-debug.h:8,
from ../src/debug.cc:1:
/home/user/.node-gyp/8.9.3/include/node/v8-debug.h:209:39: note: candidate: static v8::Local<v8::Context> v8::Debug::GetDebugContext(v8::Isolate*)
static Local<Context> GetDebugContext(Isolate* isolate));
^
/home/user/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/user/.node-gyp/8.9.3/include/node/v8-debug.h:209:39: note: candidate expects 1 argument, 0 provided
static Local<Context> GetDebugContext(Isolate* isolate));
^
/home/user/.node-gyp/8.9.3/include/node/v8config.h:318:3: note: in definition of macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
debug.target.mk:98: recipe for target 'Release/obj.target/debug/src/debug.o' failed
make: *** [Release/obj.target/debug/src/debug.o] Error 1
make: Leaving directory '/var/tmp/daedalus/node_modules/electron-inspector/node_modules/v8-debug/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.13.0-21-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/var/tmp/daedalus/node_modules/electron-inspector/node_modules/v8-debug/build/debug/v0.7.7/node-v57-linux-x64/debug.node" "--module_name=debug" "--module_path=/var/tmp/daedalus/node_modules/electron-inspector/node_modules/v8-debug/build/debug/v0.7.7/node-v57-linux-x64"
gyp ERR! cwd /var/tmp/daedalus/node_modules/electron-inspector/node_modules/v8-debug
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/var/tmp/daedalus/node_modules/electron-inspector/node_modules/v8-debug/build/debug/v0.7.7/node-v57-linux-x64/debug.node --module_name=debug --module_path=/var/tmp/daedalus/node_modules/electron-inspector/node_modules/v8-debug/build/debug/v0.7.7/node-v57-linux-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/var/tmp/daedalus/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:126:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:214:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:925:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
node-pre-gyp ERR! System Linux 4.13.0-21-generic
node-pre-gyp ERR! command "/usr/bin/node" "/var/tmp/daedalus/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /var/tmp/daedalus/node_modules/electron-inspector/node_modules/v8-debug
node-pre-gyp ERR! node -v v8.9.3
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/var/tmp/daedalus/node_modules/electron-inspector/node_modules/v8-debug/build/debug/v0.7.7/node-v57-linux-x64/debug.node --module_name=debug --module_path=/var/tmp/daedalus/node_modules/electron-inspector/node_modules/v8-debug/build/debug/v0.7.7/node-v57-linux-x64' (1)
npm WARN daedalus@0.8.0 No repository field.
npm WARN daedalus@0.8.0 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! v8-debug@0.7.7 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the v8-debug@0.7.7 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/user/.npm/_logs/2018-01-03T14_43_07_439Z-debug.log
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Downloading and installing Node.js and npm
If you are unable to use a Node version manager, you can use a Node installer to install both Node.js and npm on...
Read more >npm install [package name] removes packages · Issue #17379
This still happens on npm 5.6.0 / node 9.3.0 . It affects packages installed from git+ssh:// URIs even if they were installed by...
Read more >How to install the latest versions of NodeJS and NPM?
First, choose the Node.js version you need and add the sources for it: v=8 # set to 4, 5, ... If you want...
Read more >npm WARN npm npm does not support Node.js v9.1.0
It turns out that the current installed npm is not compatible with the new node and has a hard time updating. The solution...
Read more >How to Install Node.js on Ubuntu and Update npm to the ...
If you try installing the latest version of node using the apt-package manager, you'll end up with v10.19.0. This is the latest version...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@neuhaus Node 6 is supported as mentioned and will be until at least April 2019. It was still pre-release when they started so the decision is understandable. Ideally they would support both but without investigating I’m sure there are a lot of unusual dependencies that may not yet work in Node 8.
I would highly recommend (nodenv)[nodenv] as it is faster than nvm and has never given me an issue.
This is all you need to do on Ubuntu:
Install nodenv and build plugin
Install latest Node 6 version
6.12.0 is latest now, to see list use `nodenv install -l | grep 6’
To install dependencies run either
yarn
ornpm install
.For more thorough instructions about using nodenv you (can see my blog post)[https://joshmorel.ca/node-virtual-environments-with-nodenv.html].
This is unfortunate, node6 is old and not supported. There are exploits as well since no new updates being applied. We should have a mechanism to update electron to latest so we get newest node.