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

Build failure on FreeBSD 11.2 #153

Open
timewindSE opened this issue Jun 17, 2019 · 0 comments
Open

Build failure on FreeBSD 11.2 #153

timewindSE opened this issue Jun 17, 2019 · 0 comments

Comments

@timewindSE
Copy link

**Hi

I am trying to install pinitto.me on FreeBSD 11.2 (64-bit) with node-11.13.0 and mongodb34-3.4.20 installed prior to building. When I run "npm i ." the build starts and ends i failure a short time later:**

root@corkboard:/home/stefan/pinittome # npm i .
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

uname2@1.0.2 install /home/stefan/pinittome/node_modules/uname2
node-gyp rebuild

gmake: Entering directory '/home/stefan/pinittome/node_modules/uname2/build'
CXX(target) Release/obj.target/uname2/uname2.o
CXX(target) Release/obj.target/uname2/functions.o
../functions.cc:69:37: error: no matching member function for call to 'NewInstance'
info.GetReturnValue().Set(cons->NewInstance(argc, argv));
~~~~~~^~~~~~~~~~~
/root/.node-gyp/11.13.0/include/node/v8.h:4108:44: note: candidate function not viable: requires single argument 'context', but 2 arguments were provided
V8_WARN_UNUSED_RESULT MaybeLocal NewInstance(
^
/root/.node-gyp/11.13.0/include/node/v8.h:4105:44: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT MaybeLocal NewInstance(
^
1 error generated.
gmake: *** [uname2.target.mk:102: Release/obj.target/uname2/functions.o] Error 1
gmake: Leaving directory '/home/stefan/pinittome/node_modules/uname2/build'
gyp ERR! build error
gyp ERR! stack Error: gmake 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:193:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:255:12)
gyp ERR! System FreeBSD 11.2-RELEASE
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/stefan/pinittome/node_modules/uname2
gyp ERR! node -v v11.13.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN mongodb-core@1.2.31 requires a peer of kerberos@~0.0 but none is installed. You must install peer dependencies yourself.
npm WARN pinitto.me@0.9.2 license should be a valid SPDX license expression
npm WARN The package requirejs is included as both a dev and production dependency.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! uname2@1.0.2 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the uname2@1.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! /root/.npm/_logs/2019-06-17T15_36_15_973Z-debug.log

The log file is attached to this report.

Please help me to get this build to complete.

Best Regards
Stefan Sundberg
Sweden

2019-06-17T15_36_15_973Z-debug.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants