-
Notifications
You must be signed in to change notification settings - Fork 29
Installing Open Badging ... when running npm install to load dependencies get the following #40
Comments
sounds like you don't have |
make is installed under /usr/bin [root@node0180 openbadges-badgekit]# echo $PATH this is RHEL 7 server... On Tue, Aug 4, 2015 at 4:13 PM, Sam Shull [email protected] wrote:
Jason Barna |
Try |
[root@node0180 openbadges-badgekit]# npm install node-proxy -g
make: Entering directory npm ERR! [email protected] install: On Tue, Aug 4, 2015 at 4:18 PM, Sam Shull [email protected] wrote:
Jason Barna |
|
That did it... odd you would think it would be installed as part of gcc On Tue, Aug 4, 2015 at 4:23 PM, Sam Shull [email protected] wrote:
Jason Barna |
when running npm install client-sessions.. ../src/node-proxy.cc:845:12: note: in expansion of macro ‘THR_TYPE_ERROR’
../src/node-proxy.cc:909:91: note: candidates are: ^
../src/node-proxy.cc:916:85: note: candidates are:
../src/node-proxy.cc:989:93: note: candidates are:
../src/node-proxy.cc:995:87: note: candidates are:
../src/node-proxy.cc:1062:93: note: candidates are:
../src/node-proxy.cc:1073:87: note: candidates are: ^ |
make: Entering directory
/usr/openbadging/openbadges-badgekit/node_modules/client-sessions/node_modules/node-proxy/build' CXX(target) Release/obj.target/nodeproxy/src/node-proxy.o make: g++: Command not found make: *** [Release/obj.target/nodeproxy/src/node-proxy.o] Error 127 make: Leaving directory
/usr/openbadging/openbadges-badgekit/node_modules/client-sessions/node_modules/node-proxy/build'gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.10.0-229.4.2.el7.x86_64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
cwd /usr/openbadging/openbadges-badgekit/node_modules/client-sessions/node_modules/node-proxy
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
child_process: customFds option is deprecated, use stdio instead.
make: Entering directory
/usr/openbadging/openbadges-badgekit/node_modules/node-sass/build' CXX(target) Release/obj.target/binding/binding.o make: g++: Command not found make: *** [Release/obj.target/binding/binding.o] Error 127 make: Leaving directory
/usr/openbadging/openbadges-badgekit/node_modules/node-sass/build'gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.10.0-229.4.2.el7.x86_64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/openbadging/openbadges-badgekit/node_modules/node-sass
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
Build failed
npm ERR! Linux 3.10.0-229.4.2.el7.x86_64
npm ERR! argv "node" "/usr/bin/npm" "install"
npm ERR! node v0.12.7
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install:
node-gyp configure build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp configure build'.
npm ERR! This is most likely a problem with the node-proxy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls node-proxy
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /usr/openbadging/openbadges-badgekit/npm-debug.log
if I just do npm install node-proxy
[root@node0180 openbadges-badgekit]# npm install node-proxy
npm WARN package.json [email protected] license should be a valid SPDX license expression
/
make: Entering directory
/usr/openbadging/openbadges-badgekit/node_modules/node-proxy/build' CXX(target) Release/obj.target/nodeproxy/src/node-proxy.o make: g++: Command not found make: *** [Release/obj.target/nodeproxy/src/node-proxy.o] Error 127 make: Leaving directory
/usr/openbadging/openbadges-badgekit/node_modules/node-proxy/build'gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.10.0-229.4.2.el7.x86_64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /usr/openbadging/openbadges-badgekit/node_modules/node-proxy
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Linux 3.10.0-229.4.2.el7.x86_64
npm ERR! argv "node" "/usr/bin/npm" "install" "node-proxy"
npm ERR! node v0.12.7
npm ERR! npm v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install:
node-gyp configure build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp configure build'.
npm ERR! This is most likely a problem with the node-proxy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls node-proxy
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /usr/openbadging/openbadges-badgekit/npm-debug.log
The text was updated successfully, but these errors were encountered: