I changed the title slightly
I forked the sysinfo plugin to try to add some extra display functionality.
On installation of my forked github version I got errors. I used the How to install a plugin from github using npm or git.
Of course I expected my forked version to be faulty but the original should work fine, I thought.
So then I tried to install the default github version from here: https://github.com/pimatic/pimatic-sysinfo
So I went inside node-modules and did a
git clone https://github.com/pimatic/pimatic-sysinfo, followed by a
cd pimatic-sysinfo, followed by a
sudo npm install.
I got make errors which basically came down to this:
gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:87:13) gyp ERR! stack at ChildProcess.emit (events.js:172:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) gyp ERR! System Linux 3.4.108-bananian 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 /opt/pimatic/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil gyp ERR! node -v v4.4.5 gyp ERR! node-gyp -v v3.3.1 gyp ERR! not ok npm ERR! Linux 3.4.108-bananian npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v4.4.5 npm ERR! npm v2.15.5 npm ERR! code ELIFECYCLE npm ERR! email@example.com install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the firstname.lastname@example.org install script 'node-gyp rebuild'. npm ERR! This is most likely a problem with the nsutil 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 information on how to open an issue for this project with: npm ERR! npm bugs nsutil npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls nsutil npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /opt/pimatic/pimatic-app/node_modules/pimatic-sysinfo/npm-debug.log
The complete zipped npm-debug-log is here.
What am I doing wrong or what is wrong?