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,085

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
junwu
Active Contributor
0 Kudos

it says node js v16, you are v18. that could be the issue.

gaurav_setu
Explorer
0 Kudos

that may be true but i am doing this practice almost year down when solution on other question was given and that worked for many. latest version of node available is v18. Either tutorial has become outdated or their modules are not flexible

manjunath_ks1
Advisor
Advisor
0 Kudos

No, Node 18 is fine, 16 is just the minimum requirement.