cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

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

pasi_kauppinen1
Discoverer
3,008

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.

View Entire Topic
pasi_kauppinen1
Discoverer

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

Br,

Pasi