-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Hello, I get the following error when trying npm install rstats -- please note that RInside is indeed installed. Is it the node / node-gyp version mismatch?
Error in loadNamespace(name) : there is no package called 'RInside'
Calls: ::: ... tryCatch -> tryCatchList -> tryCatchOne ->
Execution halted
gyp: Call to 'echo "RInside:::LdFlags()" | /usr/lib/R/bin/R --vanilla --slave' returned exit status 1. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:344:16)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Linux 4.1.7-v7+
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/pi/r/node_modules/rstats
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm ERR! rstats@0.3.1 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the rstats@0.3.1 install script.
npm ERR! This is most likely a problem with the rstats package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls rstats
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.1.7-v7+
npm ERR! command "/root/.nvm/v0.10.40/bin/node" "/root/.nvm/v0.10.40/bin/npm" "install" "rstats"
npm ERR! cwd /home/pi/r
npm ERR! node -v v0.10.40
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0