cancel
Showing results for 
Search instead for 
Did you mean: 

Error at fiori add deploy-config cf, add deployment config for sap fiori element risk application

gaurav_setu
Explorer
0 Kudos
2,137

I am at step 9 of this tutorial Prepare SAP Build Work Zone, Standard Edition Setup.

I get error when I run command - fiori add deploy-config cf

D:\CFTutorials\cpapp\app\risks>fiori add deploy-config cf

Adding deploy-config to the project.

info Add:Deploy-config Using: @sap/fiori:deploy-config

? Destination name cpapp-app-srv

? Editing the deployment configuration will overwrite existing configuration, are you sure you want to continue? Yes

Error @sap/fiori:deploy-config cf --base ui5.yaml --config ui5-deploy.yaml

could not update the "C:\Users\gaura\AppData\Local\Temp\ff7e462c05010795ef7c05afc194af8f.temp.mta.yaml" file; it was modified by another process

Do you need to install @sap/generator-fiori globally?

npm install -g @sap/generator-fiori

OR

yarn global add @sap/generator-fiori

D:\CFTutorials\cpapp\app\risks>

I have already followed these steps:

I followed solution provided at https://answers.sap.com/questions/13673725/error-5.html but did not resolve, tried adding suggested dependencies in app/risks/package.json.

Node version I am using is

D:\CFTutorials\cpapp\app\risks>node -v

v18.16.0

D:\CFTutorials\cpapp\app\risks>npm -v

9.7.1

Whole app and mta.yaml file can be checked at:

https://github.com/gksetu/CFPractice

Please help.

View Entire Topic
hh
Explorer
0 Kudos

I had the same error. For me it was solved after I simply deleted the file that is shown directly from the temp directory.