Yarn doesn't run node-pre-gyp on install (Was: Jest with Node 7+)
See original GitHub issueI would like to run tests under NodeJS v7.2. As of v7, the node ABI version was switched from 48 to 51. This causes problems with realm.
Cannot find module '/Users/colinramsay/Projects/clients/clade/clade-app/node_modules/realm/compiled/node-v51_darwin_x64/realm.node' from 'index.js'
at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:151:17)
at Object.<anonymous> (node_modules/realm/lib/index.js:43:24)
at Object.<anonymous> (src/app/persistence.js:1:158)
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
node_modules/bcrypt: Command failed. node-pre-gyp
So I run chmod -R ug+rwx XXXX where XXXX is my project drive. But the yarn install doesn't work. I keep searching. Edit...
Read more >Getting Started - Jest
Running from command line ... You can run Jest directly from the CLI (if it's globally available in your PATH , e.g. by...
Read more >canvas | Yarn - Package Manager
node -canvas is a Cairo-backed Canvas implementation for Node.js. Installation. $ npm install canvas. By default, binaries for macOS, Linux and Windows will...
Read more >Node.js v19.3.0 Documentation
Running npm install -g yarn doesn't work. Crypto. Determining if crypto support is unavailable; Class: Certificate. Static method: Certificate.
Read more >the react-scripts package provided by create react app ...
Run npm install or yarn, depending on the package manager you use. ... 7. Try running npm ls jest in your project folder....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We’re now using a different approach, forcing the install of the binaries.
I can’t remember what we were using at the time but we’re currently on: