Crash installation of mineos-node

Hello, I try to install mineos-node on my FreeBSD 11.1
I do it with this manual:

When I run command

echo “CXX=c++ npm install” | sh

I recieve an error:

11639 verbose linkBins amdefine@1.0.0
11640 verbose linkMans amdefine@1.0.0
11641 silly doSerial global-link 3920
11642 silly doParallel update-linked 3920
11643 silly doSerial install 3920
11644 silly install yeast@0.1.2
11645 info lifecycle yeast@0.1.2~install: yeast@0.1.2
11646 silly lifecycle yeast@0.1.2~install: no script for install, continuing
11647 silly install yallist@2.1.2
11648 info lifecycle yallist@2.1.2~install: yallist@2.1.2
11649 silly lifecycle yallist@2.1.2~install: no script for install, continuing
11650 silly install xtend@4.0.1
11651 info lifecycle xtend@4.0.1~install: xtend@4.0.1
11652 silly lifecycle xtend@4.0.1~install: no script for install, continuing
11653 silly install xmlhttprequest-ssl@1.5.1
11654 info lifecycle xmlhttprequest-ssl@1.5.1~install: xmlhttprequest-ssl@1.5.1
11655 silly lifecycle xmlhttprequest-ssl@1.5.1~install: no script for install, continuing
11656 silly install xmlbuilder@4.2.1
11657 info lifecycle xmlbuilder@4.2.1~install: xmlbuilder@4.2.1
11658 silly lifecycle xmlbuilder@4.2.1~install: no script for install, continuing
11659 silly install xml2js@0.4.17
11660 info lifecycle xml2js@0.4.17~install: xml2js@0.4.17
11661 silly lifecycle xml2js@0.4.17~install: no script for install, continuing
11662 silly install wtf-8@1.0.0
11663 info lifecycle wtf-8@1.0.0~install: wtf-8@1.0.0
11664 silly lifecycle wtf-8@1.0.0~install: no script for install, continuing
11665 silly install ws@1.1.1
11666 info lifecycle ws@1.1.1~install: ws@1.1.1
11667 silly lifecycle ws@1.1.1~install: no script for install, continuing
11668 silly install wrappy@1.0.2
11669 info lifecycle wrappy@1.0.2~install: wrappy@1.0.2
11670 silly lifecycle wrappy@1.0.2~install: no script for install, continuing
11671 silly install async@1.0.0
11672 info lifecycle async@1.0.0~install: async@1.0.0
11673 silly lifecycle async@1.0.0~install: no script for install, continuing
11674 silly install winston@1.0.2
11675 info lifecycle winston@1.0.2~install: winston@1.0.2
11676 silly lifecycle winston@1.0.2~install: no script for install, continuing
11677 silly install win-release@1.1.1
11678 info lifecycle win-release@1.1.1~install: win-release@1.1.1
11679 silly lifecycle win-release@1.1.1~install: no script for install, continuing
11680 silly install whoami@0.0.3
11681 info lifecycle whoami@0.0.3~install: whoami@0.0.3
11682 silly lifecycle whoami@0.0.3~install: no script for install, continuing
11683 silly install which@1.2.14
11684 info lifecycle which@1.2.14~install: which@1.2.14
11685 silly lifecycle which@1.2.14~install: no script for install, continuing
11686 silly install wget@0.0.1
11687 info lifecycle wget@0.0.1~install: wget@0.0.1
11688 silly lifecycle wget@0.0.1~install: no script for install, continuing
11689 silly install verror@1.10.0
11690 info lifecycle verror@1.10.0~install: verror@1.10.0
11691 silly lifecycle verror@1.10.0~install: no script for install, continuing
11692 silly install vary@1.1.1
11693 info lifecycle vary@1.1.1~install: vary@1.1.1
11694 silly lifecycle vary@1.1.1~install: no script for install, continuing
11695 silly install utils-merge@1.0.0
11696 info lifecycle utils-merge@1.0.0~install: utils-merge@1.0.0
11697 silly lifecycle utils-merge@1.0.0~install: no script for install, continuing
11698 silly install utility@0.1.11
11699 info lifecycle utility@0.1.11~install: utility@0.1.11
11700 silly lifecycle utility@0.1.11~install: no script for install, continuing
11701 silly install util-deprecate@1.0.2
11702 info lifecycle util-deprecate@1.0.2~install: util-deprecate@1.0.2
11703 silly lifecycle util-deprecate@1.0.2~install: no script for install, continuing
11704 silly install userid@0.3.1
11705 info lifecycle userid@0.3.1~install: userid@0.3.1
11706 verbose lifecycle userid@0.3.1~install: unsafe-perm in lifecycle false
11707 verbose lifecycle userid@0.3.1~install: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/games/minecraft/node_modules/userid/node_modules/.bin:/usr/local/games/minecraft/node_modules/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
11708 verbose lifecycle userid@0.3.1~install: CWD: /usr/local/games/minecraft/node_modules/userid
11709 silly lifecycle userid@0.3.1~install: Args: [ ‘-c’, ‘node-gyp rebuild’ ]
11710 silly lifecycle userid@0.3.1~install: Returned: code: 1 signal: null
11711 info lifecycle userid@0.3.1~install: Failed to exec install script
11712 verbose unlock done using /root/.npm/_locks/staging-b31cf89f9305f92a.lock for /usr/local/games/minecraft/node_modules/.staging
11713 verbose stack Error: userid@0.3.1 install: node-gyp rebuild
11713 verbose stack Exit status 1
11713 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:283:16)
11713 verbose stack at emitTwo (events.js:125:13)
11713 verbose stack at EventEmitter.emit (events.js:213:7)
11713 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
11713 verbose stack at emitTwo (events.js:125:13)
11713 verbose stack at ChildProcess.emit (events.js:213:7)
11713 verbose stack at maybeClose (internal/child_process.js:897:16)
11713 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:208:5)
11714 verbose pkgid userid@0.3.1
11715 verbose cwd /usr/local/games/minecraft
11716 verbose FreeBSD 11.1-RELEASE-p1
11717 verbose argv “/usr/local/bin/node” “/usr/local/bin/npm” “install”
11718 verbose node v8.1.4
11719 verbose npm v5.0.4
11720 error code ELIFECYCLE
11721 error errno 1
11722 error userid@0.3.1 install: node-gyp rebuild11722 error Exit status 1
11723 error Failed at the userid@0.3.1 install script.
11723 error This is probably not a problem with npm. There is likely additional logging output above.
11724 verbose exit [ 1, true ]

What I need to do to fix it?

Thanx

UPD:

also stdout from console:

root@m9b1:/usr/local/games/minecraft # echo “CXX=c++ npm install” | sh

userid@0.3.1 install /usr/local/games/minecraft/node_modules/userid
node-gyp rebuild

gmake: Entering directory ‘/usr/local/games/minecraft/node_modules/userid/build’
CXX(target) Release/obj.target/userid/src/userid.oIn file included from …/src/userid.cc:11:
In file included from …/…/nan/nan.h:46:
In file included from /root/.node-gyp/8.1.4/include/node/uv.h:48:
In file included from /root/.node-gyp/8.1.4/include/node/uv-errno.h:25:
In file included from /usr/include/c++/v1/errno.h:26:
/usr/include/c++/v1/__config:73:2: error:
“_LIBCPP_TRIVIAL_PAIR_COPY_CTOR” is no longer
supported. use
_LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR
instead
#error “_LIBCPP_TRIVIAL_PAIR_COPY_CTOR” is n…
^
1 error generated.
gmake: *** [userid.target.mk:97: Release/obj.target/userid/src/userid.o] Error 1
gmake: Leaving directory ‘/usr/local/games/minecraft/node_modules/userid/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:258:23)
gyp ERR! stack at emitTwo (events.js:125:13)
gyp ERR! stack at ChildProcess.emit (events.js:213:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12)
gyp ERR! System FreeBSD 11.1-RELEASE-p1
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 /usr/local/games/minecraft/node_modules/userid
gyp ERR! node -v v8.1.4
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! userid@0.3.1 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the userid@0.3.1 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/2017-08-13T21_14_27_434Z-debug.log

Hey, I solve this by deleting npm5 and node8, and installing npm3 and node6.

Anyway thanx.

1 Like