cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Web IDE Full Stack Build Error npm ERR! code EACCES

pasi_kauppinen1
Discoverer
2,005

I tried to build project in SAP WebIDE Full Stack today and I got following errors:

8:45:47 AM (DIBuild) [INFO] Installing node dependencies
8:45:55 AM (DIBuild) npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /mnt/npm_cache/_cacache
npm ERR! errno -13
npm ERR! 
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR! 
npm ERR! To permanently fix this problem, please run:
npm ERR!   sudo chown -R 1001:1000 "/mnt/npm_cache"
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /mnt/npm_cache/_cacache
npm ERR! errno -13
npm ERR! 
.

.
8:45:58 AM (DIBuild) 
Build failed.<br>

Last week there were no problems for building. I also tried to clone it from Git repository to other project and build. It didn't help. I have also tried "Build -> Clean npm folder. I can build other WebIDE projects...

Has anyone got solution for this problem?

BR,

Pasi

Update: It is working now. I don't know what caused it.

Accepted Solutions (0)

Answers (5)

Answers (5)

pasi_kauppinen1
Discoverer

No, I didn't find solution. I just waited a couple of hours and it worked again.

Br,

Pasi

AntalP
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Could you try the following workaround

1. Export the project

https://help.sap.com/docs/SAP_BUILD/acb8ee53fa0e448f9b4a4125591f5d5a/ec8641ccb08345f6ad0351db4704b37...

2. Create new workspace: Tools -> Workspace manager - > Create workspace

3. Import the project to the new workspace

Import Projects

https://help.sap.com/docs/SAP_BUILD/acb8ee53fa0e448f9b4a4125591f5d5a/3616a395af22458fb9a23b93c08af16...

Best regards,

Antal

yyildiz
Explorer
0 Kudos

In the package.json check for devDependencies, change it to your current version or "1.3.85"

Example : "devDependencies": { "@sap/grunt-sapui5-bestpractice-build": "1.4.1" }

Check if there are any errors in your controller.js files. like : duplicates functions, missing semicolons or console.log....

co_walter_zolkin
Explorer
0 Kudos

samesees! does anyone have an idea how to solve this?

bhuvneshkumar_gupta
Participant
0 Kudos

did you find solution, I'm also facing similar issue