You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm ERR! npm ERR! Error: Failed to find Electron v1.7.11 for darwin-arm64 at https://github.com/electron/electron/releases/download/v1.7.11/electron-v1.7.11-darwin-arm64.zip
This seems to be an issue specifically for running on M1 Macbooks.
The text was updated successfully, but these errors were encountered:
It appears that the Electron version you're trying to use is not compatible with the arm64 architecture of your Apple Silicon Mac when using a version of Node.js newer than v12. To address this, you can use Node Version Manager (nvm) to install and manage an older Node.js version. However, since the required version of Electron is not available for arm64, you will need to run your terminal under Rosetta, which allows you to use software designed for Intel x86 architecture.
Find the Terminal application in Finder (usually under Applications > Utilities).
Duplicate Terminal (so you have the original version intact).
Right-click on the duplicated Terminal and select "Get Info."
Check the box for "Open using Rosetta" and close the info window.
Install nvm:
Open the Rosetta Terminal and install nvm by running the script from their GitHub repository (https://github.com/nvm-sh/nvm). You can usually do this with the following command:
This seems to be an issue specifically for running on M1 Macbooks.
The text was updated successfully, but these errors were encountered: