-
Notifications
You must be signed in to change notification settings - Fork 677
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
yarn electron:serve fails in Mac M1 #264
Comments
For now, I did the following:
The app is running now. Need to check if anything is broken. |
Steps, that worked which doesn't involve yarn.
If you are interested, I can share output of |
Yup please do. I don't have access to an M1 Mac right now but will check it once I do. |
@esafwan can you send me this file ( The reason why npm ran (after setting webpack) is because there is no But you shouldn't have to remove the lock file. This messes up things. Thanks for sharing these! |
Here is the log: yarn-error.log I am not sure if this helps, but as I play around with the code I have to exit the app and run |
Thanks for the log, this seems like an unresolved issue yarn/issues/2976. Looks like it's caused by I've added yarn to
This is proper. But if you do type in changes that have issues, webpack will throw errors (if syntactical) else you'll find errors in the chromium console ( But fixing the issues should cause it to continue working. If it doesn't you can press You shouldn't have to run serve again. |
I made a fresh clone of the project and ran the
|
The electron issue (first screenshot) is cause there is arm64 was supported only from electron 11. The second issue is cause This is mostly cause M1, I'll be getting an M1 Mac in about a month, I'll try fixing this then. |
These steps are working for me. I am able to develop. However, when some errors happen, I have to restart. Reload won't let you continue. But overall better than not being able to develop at all. |
Update: just got an M1 laptop so was able to attend to this. To Make Things WorkWithout local git clone https://github.com/frappe/books
yarn upgrade frappejs
yarn electron:serve With local git clone https://github.com/frappe/books
git clone https://github.com/frappe/frappejs
cd frappejs
yarn
yarn link
cd ../books
yarn upgrade frappejs
yarn link frappejs
yarn electron:serve Sqlite3 Issue
To address the above issues switched to Webpack IssueChanging the None of the suggested solutions worked. What worked was running The On re-running the command the Closing this since local setup with cc @esafwan |
yarn electron:serve
fails on Mac M1 (BigSur 11.4). The error I get is given below.Yarn Version: 1.22.17
Node Version : v16.13.0
NPM Version : 8.1.0
The text was updated successfully, but these errors were encountered: