on 2020 Oct 12 8:07 AM
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.
Request clarification before answering.
No, I didn't find solution. I just waited a couple of hours and it worked again.
Br,
Pasi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Could you try the following workaround
1. Export the project
2. Create new workspace: Tools -> Workspace manager - > Create workspace
3. Import the project to the new workspace
Import Projects
Best regards,
Antal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
samesees! does anyone have an idea how to solve this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did you find solution, I'm also facing similar issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
30 | |
9 | |
7 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.