Skip to content

Instantly share code, notes, and snippets.

@Wolfr
Created October 29, 2020 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Wolfr/7194077ed212c639c49927ec8b3aac6a to your computer and use it in GitHub Desktop.
Save Wolfr/7194077ed212c639c49927ec8b3aac6a to your computer and use it in GitHub Desktop.
Now using node v12.14.1 (npm v6.13.6)
johanronsse@Johans-iMac spark-backoffice-prototype % npm i
> fsevents@1.2.13 install /Users/johanronsse/Sites/spark-backoffice-prototype/node_modules/glob-watcher/node_modules/fsevents
> node install.js
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
> fsevents@1.2.13 install /Users/johanronsse/Sites/spark-backoffice-prototype/node_modules/gulp-watch/node_modules/fsevents
> node install.js
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
SOLINK_MODULE(target) Release/fse.node
> ttf2woff2@2.0.3 install /Users/johanronsse/Sites/spark-backoffice-prototype/node_modules/ttf2woff2
> (node-gyp rebuild > builderror.log) || (exit 0)
../csrc/addon.cc:10:40: error: no matching member function for call to 'ToObject'
Local<Object> inputBuffer = info[0]->ToObject();
~~~~~~~~~^~~~~~~~
/Users/johanronsse/Library/Caches/node-gyp/12.14.1/include/node/v8.h:2576:44: note: candidate function not viable: requires single argument
'context', but no arguments were provided
V8_WARN_UNUSED_RESULT MaybeLocal<Object> ToObject(
^
/Users/johanronsse/Library/Caches/node-gyp/12.14.1/include/node/v8.h:2590:31: note: candidate function not viable: requires single argument
'isolate', but no arguments were provided
Local<Object> ToObject(Isolate* isolate) const);
^
1 error generated.
make: *** [Release/obj.target/addon/csrc/addon.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/johanronsse/.nvm/versions/node/v12.14.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:223:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 19.6.0
gyp ERR! command "/Users/johanronsse/.nvm/versions/node/v12.14.1/bin/node" "/Users/johanronsse/.nvm/versions/node/v12.14.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/johanronsse/Sites/spark-backoffice-prototype/node_modules/ttf2woff2
gyp ERR! node -v v12.14.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
> node-sass@4.14.1 install /Users/johanronsse/Sites/spark-backoffice-prototype/node_modules/node-sass
> node scripts/install.js
Cached binary found at /Users/johanronsse/.npm/node-sass/4.14.1/darwin-x64-72_binding.node
> core-js@2.6.11 postinstall /Users/johanronsse/Sites/spark-backoffice-prototype/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
> node-sass@4.14.1 postinstall /Users/johanronsse/Sites/spark-backoffice-prototype/node_modules/node-sass
> node scripts/build.js
Binary found at /Users/johanronsse/Sites/spark-backoffice-prototype/node_modules/node-sass/vendor/darwin-x64-72/binding.node
Testing binary
Binary is fine
added 1370 packages from 1676 contributors and audited 1378 packages in 15.372s
29 packages are looking for funding
run `npm fund` for details
found 1 low severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
johanronsse@Johans-iMac spark-backoffice-prototype % gulp
assert.js:374
throw err;
^
AssertionError [ERR_ASSERTION]: Task function must be specified
at Gulp.set [as _setTask] (/Users/johanronsse/Sites/spark-backoffice-prototype/node_modules/undertaker/lib/set-task.js:10:3)
at Gulp.task (/Users/johanronsse/Sites/spark-backoffice-prototype/node_modules/undertaker/lib/task.js:13:8)
at Object.<anonymous> (/Users/johanronsse/Sites/spark-backoffice-prototype/gulpfile.js:27:6)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Module.require (internal/modules/cjs/loader.js:848:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Liftoff.handleArguments (/usr/local/lib/node_modules/gulp/bin/gulp.js:116:3) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
johanronsse@Johans-iMac spark-backoffice-prototype % npm start
> bedrock@1.24.0 start /Users/johanronsse/Sites/spark-backoffice-prototype
> gulp
AssertionError [ERR_ASSERTION]: Task function must be specified
at Gulp.set [as _setTask] (/Users/johanronsse/Sites/spark-backoffice-prototype/node_modules/undertaker/lib/set-task.js:10:3)
at Gulp.task (/Users/johanronsse/Sites/spark-backoffice-prototype/node_modules/undertaker/lib/task.js:13:8)
at Object.<anonymous> (/Users/johanronsse/Sites/spark-backoffice-prototype/gulpfile.js:27:6)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Module.require (internal/modules/cjs/loader.js:848:19)
at require (internal/modules/cjs/helpers.js:74:18)
at requireOrImport (/Users/johanronsse/Sites/spark-backoffice-prototype/node_modules/gulp/node_modules/gulp-cli/lib/shared/require-or-import.js:19:11) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bedrock@1.24.0 start: `gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bedrock@1.24.0 start 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/johanronsse/.npm/_logs/2020-10-29T07_36_59_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment