cancel
Showing results for 
Search instead for 
Did you mean: 

WebIDE build fails: Your cache folder contains root-owned files

szebenyib
Explorer
0 Kudos

The console log:

22:29:10 (DIBuild) [INFO] Installing node dependencies
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
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"

The code button in the editor messes up the formatting, hence the simple paste.

Does anyone have similar issues? The same commit built buttersmoothly a few hours ago.

SMolden
Explorer
0 Kudos

Hi,

did you find a solution for that?

I have the same issue here.

BR

Stephan

szebenyib
Explorer
0 Kudos

Nothing this miraculous piece software engineering just worked the day afterwards -.-

Accepted Solutions (0)

Answers (1)

Answers (1)

szebenyib
Explorer
0 Kudos

I have tried cleaning the npm cache folder of course

amontella96
Active Contributor
0 Kudos

out of curiosity, are you following a tutorial?