-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running install inside testdouble.js #298
Comments
any insight into what's going on? |
not yet, wanted to throw this out there in case anyone else encounters. planning on digging some tomorrow. |
I'm assuming it's an issue with node-gyp. It works fine on all versions of node that have an npm higher than 5.3. It failed on my brew-installed node 8.9.1, but succeeded on nodenv's 8.9.1. The only difference between them is how homebrew manages its version of npm separately. And since npm manages its version of node-gyp separately, I'm just assuming they're related. So if anyone else has this issue, recommended workaround: don't use homebrew's node. Use a nodenv-installed node (+ a recentish version of npm so that you have recentish node-gyp). Or if you really like homebrew's node/npm/node-gyp, maybe do the force upgrade documented here: https://github.com/nodejs/node-gyp/wiki/Updating-npm's-bundled-node-gyp (I did not try this because: 💚 |
A fresh yarn install within testdouble package flows up with a node-gyp error:
$ yarn
yarn: 1.3.2
node: 8.8.1
The text was updated successfully, but these errors were encountered: