Hi Community,
SAPUI5 projects that have building and running successfully for months have started giving the below error when building today:
1:58:02 PM (DIBuild) [INFO] Installing node dependencies
npm WARN The package javascript-obfuscator is included as both a dev and production dependency.
npm WARN The package grunt-javascript-obfuscator is included as both a dev and production dependency.
npm ERR! path /mnt/npm_cache/_locks
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir
npm ERR! Error: EACCES: permission denied, mkdir '/mnt/npm_cache/_locks'
npm ERR! { Error: EACCES: permission denied, mkdir '/mnt/npm_cache/_locks'
npm ERR! stack: 'Error: EACCES: permission denied, mkdir \'/mnt/npm_cache/_locks\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/mnt/npm_cache/_locks' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
Build failed.
Please follow the relevant troubleshooting tips below:
ERROR: "Unable to find local grunt"
- Right-click the project folder, select "Clean npm Folder", and build again.
ERROR: "npm ERR! code EINTERGITY"
- Delete the "package-lock.json" file from the project and build again.
[INFO] Build finished in 19 seconds
Does anybody have any input to what might be causing this issue?
I have tried following the troubleshooting tips, it did not help.
Thank you,
Adam