Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

npx mbt build error: access denied

0 Kudos

Hi Experts,

when I try to run the "npx mbt build" command, sometimes it works, other times it gives me one of these errors:

"ERROR mkdir C:\Users\RDLMTT00P\Documents\VS_Workspace\zccev2\.zccev2_mta_build_tmp\META-INF: The specified file could not be found.

make: *** [Makefile_20230710104345.mta:39: meta] Error 1

Error: could not build the MTA project: could not execute the "make -f Makefile_20230710104345.mta p=cf mtar= strict=true mode=" command: exit status 2"

"[2023-07-10 10:43:38] ERROR could not process dependencies for the "cce_ui_deployer" module: could not process requirements of the "cce_ui_deployer" module that is based on the "cce" module when copying artifacts: could not copy files matching the "cce.zip" pattern from the "C:\Users\RDLMTT00P\Documents\VS_Workspace\zccev2\app\cce\dist" folder to the "C:\Users\RDLMTT00P\Documents\VS_Workspace\zccev2\resources " folder: could not copy "C:\Users\RDLMTT00P\Documents\VS_Workspace\zccev2\app\cce\dist\cce.zip" to "C:\Users\RDLMTT00P\Documents\VS_Workspace\zccev2\resources\cce.zip ": write C:\Users\RDLMTT00P\Documents\VS_Workspace\zccev2\resources\cce.zip: Access is denied.

make: *** [Makefile_20230710104314.mta:37: cce_ui_deployer] Error 1

Error: could not build the MTA project: could not execute the "make -f Makefile_20230710104314.mta p=cf mtar= strict=true mode=" command: exit status 2"

The project is shared, and it goes to my colleagues. VS Code has administrator rights and any antivirus have all been disabled, I don't understand what could cause this malfunction.

Do you know how to solve?

Thank you

0 REPLIES 0