Closed ghost closed 3 years ago
It seems more like an environment issue to me. Are you sure that you don't have compiled this on node version v6.9.1 instead of 12.19.0? This is at least what the log is telling as well. gyp ERR! node -v v6.9.1 BTW this module is not supported on node 6.
I'm not sure how node-gyp
works and co-releate with whole node.js
system. I've tried to update it separatelly, but as I see in ur post, node-gyp
is updated when node
is updated?
In my shared hosting I have configuration that uses two node versions
node --version //shows v6.9.1
node12 --version //shows v12.19.0
there is also npm
and npm12
command
I've installed eiows
by using npm12 install --save eiows
so I was expecting everything would be compiled for node v12, but now I think it wont be.
Is there some way to instruct eiows
installation to use npm12
command instead of regular npm
and coresponding node-gyp
?
I’m afraid I cannot help you with that. I think it depends on your environment variable which node version is used/found. You can use nvm for instance to manipulate this but there are no prebuild binaries on freeBSD so it will take a while to build the nodejs version you want to use.
I've just did installation through NVM of latest LTS Node.js version along with NPM, previously it wasn't possible on my hosting, now it is and I've installed eiows successfully. Thanks for help!
Great, you are welcome.
Node v12.19.0 NPM v6.14.8 OS: FreeBSD 12.2-RELEASE
Build log: