What Should I Do If the Error Message "permission denied" Is Displayed When I Install an Environment on macOS?
Customer Case
A customer has integrated the Electron SDK. When the required environment is installed, the message "permission denied" is displayed.
Cause Analysis
File permission issue.
Solution
Run the chmod command, for example, chmod 777 XXX, to modify the permission of the error file. Alternatively, add the --unsafe-perm=true --allow-root parameter when installing the dependency package.
For example, npm install -electron@13.6.7 –g --unsafe-perm=true --allow-root.
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