Page MenuHomePhabricator
Paste P8303

node v11.12.0 + master
ArchivedPublic

Authored by zeljkofilipin on Mar 28 2019, 2:33 PM.
Tags
None
Referenced Files
F28497151: raw.txt
Mar 28 2019, 2:33 PM
Subscribers
None
~/Documents/gerrit/mediawiki/vagrant/mediawiki$ node -v
v11.12.0
~/Documents/gerrit/mediawiki/vagrant/mediawiki$ npm -v
6.9.0
~/Documents/gerrit/mediawiki/vagrant/mediawiki$ npm i
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor.
> fibers@2.0.2 install /Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/node_modules/fibers
> node build.js || nodejs build.js
CXX(target) Release/obj.target/fibers/src/fibers.o
../src/fibers.cc:318:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
object->SetAccessor(isolate->GetCurrentContext(), name, (AccessorNameGetterCallback)getter, (AccessorNameSetterCallba...
^~~~~~~~~~~~~~~~~~~
../src/fibers.cc:464:24: warning: 'Utf8Value' is deprecated: Use Isolate version [-Wdeprecated-declarations]
String::Utf8Value stack(uni::Deref(that.isolate, fatal_stack));
^
/Users/z/.node-gyp/11.12.0/include/node/v8.h:2991:5: note: 'Utf8Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use Isolate version",
^
/Users/z/.node-gyp/11.12.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATED'
declarator __attribute__((deprecated(message)))
^
../src/fibers.cc:686:66: error: too few arguments to function call, expected at least 2, have 1
Script::Compile(uni::NewLatin1String(that.isolate, "void 0;"));
~~~~~~~~~~~~~~~ ^
/Users/z/.node-gyp/11.12.0/include/node/v8.h:1359:3: note: 'Compile' declared here
static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
^
../src/fibers.cc:701:66: error: too few arguments to function call, single argument 'context' was not specified
uni::Reset(that.isolate, fatal_stack, try_catch.StackTrace());
~~~~~~~~~~~~~~~~~~~~ ^
/Users/z/.node-gyp/11.12.0/include/node/v8.h:8881:3: note: 'StackTrace' declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Value> StackTrace(
^
/Users/z/.node-gyp/11.12.0/include/node/v8config.h:418:31: note: expanded from macro 'V8_WARN_UNUSED_RESULT'
#define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
^
2 warnings and 2 errors generated.
make: *** [Release/obj.target/fibers/src/fibers.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:197:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/usr/local/Cellar/node/11.12.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/node_modules/fibers
gyp ERR! node -v v11.12.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-gyp exited with code: 1
Please make sure you are using a supported platform and node version. If you
would like to compile fibers on this machine please make sure you have setup your
build environment--
Windows + OS X instructions here: https://github.com/nodejs/node-gyp
Ubuntu users please run: `sudo apt-get install g++ build-essential`
Alpine users please run: `sudo apk add python make g++`
sh: nodejs: command not found
npm WARN grunt-karma@3.0.0 requires a peer of karma@^0.13.0 || ^1.0.0 but none is installed. You must install peer dependencies yourself.
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! fibers@2.0.2 install: `node build.js || nodejs build.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the fibers@2.0.2 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! /Users/z/.npm/_logs/2019-03-28T14_30_22_120Z-debug.log