Closed loretoparisi closed 4 years ago
The module you are trying to install is not compatible with Node.js 12: https://github.com/Wulf/nodehun/issues/66#issuecomment-494497568
In fact, I can see that
node-gyp
depends on https://www.npmjs.com/package/proofreader https://www.npmjs.com/package/spellchecker_ptbr https://www.npmjs.com/package/proofread-core https://www.npmjs.com/package/writewellwhich in turn depends on
nodehun
.
I’ve no idea why you think that. node-gyp
has never depended on those modules. https://github.com/nodejs/node-gyp/blob/master/package.json
🤦♂ Sorry, my bad. Some confusion, that..!!
using node@10 solved my problem totally uninstall node 13 and install 10 using brew, sometimes install yarn and brew cause problem, choose one and install/uninstall all the time using one thing. I catch i had 2 different install , one from yarn one from brew, i uninstall separately
It would be really helpful if someone could create GitHub Actions that replicate these failure conditions. Reverting to old versions does not help this community to move forward.
I guess node -v 14 has issues working with node-gyp. Just spent minutes trying to fix a gyp error which disappeared when i switched to v12
What version of node-gyp? What command did you type? What was the output log?
It's not working for me on node 12.18.0 and node-gyp 7.0.0
~What version of node-gyp?~ What command did you type? What was the output log?
I'm trying to install FFI to use C bindings in node. I tried multiple commands and node versions:
Unfortunately, ffi's last update was two years ago and its automated testing is failing across the board. node-ffi/node-ffi#596
Perhaps for ffi on Node.js 10 try legacy Python:
$ npm install --python="/usr/bin/python2" ffi
# or on Windows
$ npm install --python="C:\Python27" ffi
At this point neither FFI or node-gyp work for me so I think I'll just use N-API with Cmake.js. Thanks for the reply!
I'm facing the same error. can someone suggest the solution?
Node : v12.14.1 Npm: 6.13.4
This issue needs to be dealt with by the node-ffi team.
@ahtashamabbasse currently, my configuration works having:
$ node -v
v12.16.1
$ node-gyp -v
v6.0.1
$ npm -v
6.13.4
$ python --version
Python 2.7.16
I want to remark that this will not working using python3
, so since I have macOS
I had to to this in .bash_profile
:
function __py3 {
export PYTHONPATH=/usr/local/lib/python3.7/site-packages/
}
function __py2 {
export PYTHONPATH=/Library/Python/2.7/site-packages
}
alias py3='__py3'
alias py2='__py2'
and then use the alias py2
before using node-gyp
.
Im facing the same issue
I get errors with
while compiling nodehun:
and following the stack trace: