Open terminal as X86, then run webpack:
arch -x86_64 zsh
yarn install && yarn webpack
If you need to install software like Node JS 12, do this:
- First install Rosetta:
softwareupdate --install-rosetta
- Open a terminal as x86 arch via this command:
arch -x86_64 zsh
- Then install and run any software that needs to be run on x86
nvm install v12.22.8 --shared-zlib
- If in doubt, type in
arch
to see i386 vs arm64 and try to install something and reinstall it with x86- Ex:
brew uninstall chromium
(ARM64)brew install chromium
(x86_64)
- Ex:
- Redis error: “MISCONF Redis is configured to save RDB snapshots”
brew services restart redis
- maxmind_geoip2 gem error
brew install libmaxminddb
(arm64)gem install maxmind_geoip2 -v '0.0.8' -- --with-opt-include=/opt/homebrew/include --with-opt-lib=/opt/homebrew/lib