What Should I Do If an Error Message Indicating that the Arm64 Architecture Is Required Is Displayed When I Run the Electron SDK on My MacBook?
Customer Case
After the Electron SDK is integrated with macOS, when the SDK is started, the error message have(x86_64), need(arm64) is displayed, indicating that the architecture is incorrect.
Cause Analysis
The native UI SDK of macOS does not support Arm64. It supports only x86_64.
Solution
1. Set export npm_config_arch to x64 to specify the x64 platform for Node.js.
2. Delete the downloaded node_modules folder.
3. Run the project again. To debug the demo, run the run_demo_mac.sh script.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot