[readme] Describe another failure case for installing node versions from source on mac arm64 machines.

It seems to be related to https://github.com/nodejs/node/issues/39313 (which describes a similar issue).
Ian Grayson 2021-11-15 04:23:42 -08:00 committed by Jordan Harband
parent ccd98f7fcb
commit e9b26938b9
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
1 changed files with 1 additions and 0 deletions

View File

@ -913,6 +913,7 @@ Some issues you may encounter:
$ NODE_OPTIONS="--max-old-space-size=4096" ./node_modules/.bin/your_node_package
```
- when using `nvm` to install some versions, the compilation fails
- after `nvm` successfully compiles some versions, `yarn` or `npm` may later fail to install packages with an `incorrect data check` error.
One solution to this issue is to change the architecture of your shell from arm64 to x86.