Closed timthomassen closed 8 years ago
It looks like you're having problems installing native modules. Do you have the build-essential package installed?
Failing that could you paste the full npm-debug.log file here or in a gist?
Found the culprit!! After checking the build-essential package and finding out that it was installed I ran the guvnor installation again and checked the logs. I noticed several ENOMEM
errors at the end. I checked to see if I had swap memory enabled and I didn't (DOH!) so I assigned a swapfile, ran the guvnor installation again and it managed to install all the way through. Such an easy solution for something that seemed so difficult. I guess I should check the logs more often in cases like this.
Anyway, thanks for the quick help and this cool package. I'm gonna dive in now :)
I've been trying to install guvnor all day now, but I can't seem to install it on my ubuntu server with npm properly. I've tried installing via npm by running
sudo npm install -g guvnor --unsafe-perm
. It outputs the following and adds a govnur folder to/usr/local/lib/node_modules/
but not to/usr/local/bin/
so neither theguvnor
andguv
commands work.Install output:
I've tried running
guv
using the path to the bin folder in lib (/usr/local/lib/node_modules/guvnor/bin
). When I do this I get an error sayingI've also tried manually installing the previous version (v3.5.11) to see if the problem was also present there, and it was.
I'm running out of ideas and I'd love to hear if anyone knows what's going on.