Why Am I Seeing the Error Message "gyp ERR!"? stack Error: EACCES: permission denied
Symptoms
When the npm build task is executed, the following error information is displayed in the log.
gyp ERR! stack Error: EACCES: permission denied, mkdir '******/job_1451ba57-0c35-4daa-99c2-21425404f61c_1564043318112/saas_shop/node_modules/node-sass/.node-gyp'
Cause Analysis
The current directory does not have the read and write permissions.
Solution
Edit the task, add node-sass --unsafe-perm=true after the npm install command, save the task, and execute the task again.
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