SAP Knowledge Base Article - Preview

3084793 - Build project failed due to npm cache

Symptom

When build the project in WebIDE full-stack, the following error occurs in console:

***********************************************
12:49:22 PM (DIBuild) npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /mnt/npm_cache/_locks
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"
**********************************************


Read more...

Environment

WebIDE full-stack

Product

SAP Business Technology Platform all versions

Keywords

WEBIDE; npm_cache; npm , KBA , CA-WDE-BLD , SAP Web IDE Build application , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.