on 07-06-2022 7:00 AM
Hello,
I'm at step 9 (Add SAP Fiori Elements Risks application) of this tutorial: https://developers.sap.com/tutorials/btp-app-launchpad-service.html
I have error when I add add deployment configuration:
BSNC1706_003@DESKTOP-773LOGT MINGW64 /d/교육자료/BTP/CAPapplication/cpapp/app/risks (main)
$ 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
Error @sap/fiori:deploy-config cf --base ui5.yaml --config ui5-deploy.yaml
could not update the "C:\Users\BSNC17~1\AppData\Local\Temp\d8f8968350936f5f004b82d6bab46db6.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<br>
and this is the terminal history
BSNC1706_003@DESKTOP-773LOGT MINGW64 /d/교육자료/BTP/CAPapplication/cpapp (main)
$ npm install --global @sap/ux-ui5-tooling
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
changed 238 packages, and audited 239 packages in 14s
23 packages are looking for funding
run `npm fund` for details
4 moderate severity vulnerabilities
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
BSNC1706_003@DESKTOP-773LOGT MINGW64 /d/교육자료/BTP/CAPapplication/cpapp (main)
$ npm install --global @sap/generator-fiori
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN deprecated @sap-cloud-sdk/analytics@1.54.2: 1.x is no longer maintained.
npm WARN deprecated @sap-cloud-sdk/util@1.54.2: 1.x is no longer maintained.
npm WARN deprecated @sap-cloud-sdk/core@1.54.2: Version 1 of SAP Cloud SDK is no longer maintained. Check the upgrade guide for switching to version 2: https://sap.github.io/cloud-sdk/docs/js/guides/upgrade-to-version-2.
changed 622 packages, and audited 631 packages in 51s
97 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
BSNC1706_003@DESKTOP-773LOGT MINGW64 /d/교육자료/BTP/CAPapplication/cpapp (main)
$ npm install --global mta
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
changed 68 packages, and audited 69 packages in 11s
2 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
BSNC1706_003@DESKTOP-773LOGT MINGW64 /d/교육자료/BTP/CAPapplication/cpapp (main)
$ cd app/risks
BSNC1706_003@DESKTOP-773LOGT MINGW64 /d/교육자료/BTP/CAPapplication/cpapp/app/risks (main)
$ 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
Error @sap/fiori:deploy-config cf --base ui5.yaml --config ui5-deploy.yaml
could not update the "C:\Users\BSNC17~1\AppData\Local\Temp\d8f8968350936f5f004b82d6bab46db6.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
also I share mta.yaml just in case
Hi Ivan,
same problem here: facing the issue:
Error @sap/fiori:deploy-config cf --base ui5.yaml --config ui5-deploy.yaml
could not update the "*.temp.mta.yaml" file; it was modified by another process
Closely followed your steps with downgrading to Node v16.15.1 and adding the devDependencies to package.json of both the risks and mitigations app.
Also tried the solution of sameerali.khan with pasting the mta.yaml into the *.temp.mta.yaml but this also did not help.
Do you see anything I am doing wrong here?
This is the code/mta: https://github.com/cinemandre/CAP_FirstFlight/blob/main/mta.yaml
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.