cancel
Showing results for 
Search instead for 
Did you mean: 

error @sap/fiori:deploy-config when adding Fiori elements

2,543

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

https://github.com/keg9999/CAPdemo

Accepted Solutions (1)

Accepted Solutions (1)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi dawonbaek,

You have entered wrong information on your MTA.

1) Make sure you are using NodeJS version 16

2) Duplicate entries for xsuaa resource. On your MTA you a module definition at line 47

And on line 57 you have it again with additional configuration for the same module type.

Recommendation: remove the duplicate entry from line 47

3) Update the requires clause for module 'cpapp-srv' on your MTA.yaml by replacing the deleted instance named 'cpapp-auth' with the instance 'cpapp-uaa'.

4) Then on line 93 you have a module definition of type 'CONTENT' which should be under session 'modules' instead of 'resources'.

Recommendation: Move the module named 'cpapp-destinations' below the session modules and above the session resources on your mta.yaml file.

5) Open the packages.json from both app modules (risks and mititgations) and change the devDependencies with the following:

"devDependencies": {
	"@ui5/cli": "^2.14.9",
	"@ui5/fs": "^2.0.6",
	"@ui5/logger": "^2.0.1",
	"@sap/ux-ui5-tooling": "1",
	"rimraf": "3.0.2",
	"@sap/ux-specification": "latest"
}

Once you have the above changes implemented, you will be able to run the commands from the tutorial without any issues.

Best regards,
Ivan
0 Kudos

Hello Ivan,

I edited mta.yaml and packages.json as you told me so, but I still see the same error.

here I pushed my code with the comment of 'deployment configuration error'

https://github.com/keg9999/CAPdemo

with many thanks,

Dawon

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert

Hi dawonbaek,

The error message is kind of clear to me 🙂

the "/temp/671a3485a5eeeb4cb35dc1f8d811d954.temp.mta.yaml" file is not a valid MTA descriptor: yaml: line 54: did not find expected '-' indicator

If you open that file, the line 54 has an indentation error. It has a 3-space indentation whereas it should have 4 because it is subordinate to the module 'cpapp-destinations'. My yaml editor has indicated me that this line was expecting a '-' which is correct, since its position is related to a new module declaration and instead it found a and followed by a character (which is the error on your yaml file).

I use the RedHat YAML Editor on my VSCode to prevent such errors while editing yaml:

https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml

Once installed, open the original MTA.yaml file at the root of the project on VSCode and you should see the error like so:

Once you fix the indentation on this module, it should be fixing the issue overall.

If not, please check the repository for this sample application and compare it to what you have currently on your filesystem.

https://github.com/SAP-samples/cloud-cap-risk-management/blob/launchpad-service/mta.yaml

NOTE: the above URL refers to the branch for the same exercise you are on. If you progress on your exercise, you should search for the corresponding branch to lookup the files.

Best regards,
Ivan

SameerAliKhan
Advisor
Advisor

I copied the unformatted mta.yaml, formatted it using 'redhat.vscode-yaml' formatter and then copied it to 'mta.yaml' and the temp '*.yaml', and it was fixed.

Answers (7)

Answers (7)

hugoinperson
Explorer

downgrade the mta to a lower version (1.0.4) solve this problem for me.
npm i -g mta@1.0.4

DanielEndres
Explorer
0 Kudos

Thanks Jerry, that solved the problem for me

emarinova9
Member
0 Kudos

This worked for me as well!

asifalisap
Explorer
0 Kudos
also Stuck here. any there to help us in this problem ??




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

[2023-08-24 02:05:45]  INFO get parameters
unexpected fault address 0xffffffffffffffff
fatal error: fault
[signal 0xc0000005 code=0x0 addr=0xffffffffffffffff pc=0x7f019f]

goroutine 1 [running]:
runtime.throw({0xb895b1?, 0x39ba9c06f99a3edc?})
        /usr/local/go/src/runtime/panic.go:992 +0x76 fp=0xc00013f620 sp=0xc00013f5f0 pc=0x7c6516
runtime.sigpanic()
        /usr/local/go/src/runtime/signal_windows.go:261 +0x125 fp=0xc00013f668 sp=0xc00013f620 pc=0x7d94e5
aeshashbody()
        /usr/local/go/src/runtime/asm_amd64.s:1343 +0x39f fp=0xc00013f670 sp=0xc00013f668 pc=0x7f019f
runtime.mapiternext(0xc00014d840)
        /usr/local/go/src/runtime/map.go:934 +0x2cb fp=0xc00013f6e0 sp=0xc00013f670 pc=0x79ff6b
runtime.mapiterinit(0x0?, 0xc00024b4b0?, 0xc0001d7451?)
        /usr/local/go/src/runtime/map.go:861 +0x228 fp=0xc00013f700 sp=0xc00013f6e0 pc=0x79fc48
reflect.mapiterinit(0xb41840?, 0xc00013f7b0?, 0xc00013f7d0?)
        /usr/local/go/src/runtime/map.go:1373 +0x19 fp=0xc00013f728 sp=0xc00013f700 pc=0x7eccf9
github.com/modern-go/reflect2.(*UnsafeMapType).UnsafeIterate(...)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/modern-go/reflect2/unsafe_map.go:112
github.com/json-iterator/go.(*mapEncoder).Encode(0xc00024e3f0, 0xc0001d7028, 0xc00015cae0)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect_map.go:257 +0x21c fp=0xc00013f7e0 sp=0xc00013f728 pc=0xa0827c
github.com/json-iterator/go.(*OptionalEncoder).Encode(0xc0001108c0?, 0x0?, 0x0?)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect_optional.go:70 +0xa4 fp=0xc00013f830 sp=0xc00013f7e0 pc=0xa0de84
github.com/json-iterator/go.(*onePtrEncoder).Encode(0xc00024b490, 0xc0001d7028, 0xc00024e2a0?)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect.go:219 +0x82 fp=0xc00013f868 sp=0xc00013f830 pc=0xa00e22
github.com/json-iterator/go.(*Stream).WriteVal(0xc00015cae0, {0xb0f2e0, 0xc0001d7028})
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect.go:98 +0x158 fp=0xc00013f8d8 sp=0xc00013f868 pc=0xa00138
github.com/json-iterator/go.(*dynamicEncoder).Encode(0xb36720?, 0xc0001d7301?, 0xc00015caf8?)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect_dynamic.go:15 +0x39 fp=0xc00013f908 sp=0xc00013f8d8 pc=0xa027f9
github.com/json-iterator/go.(*structFieldEncoder).Encode(0xc00024e150, 0xb05aba?, 0xc00015cae0)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect_struct_encoder.go:110 +0x56 fp=0xc00013f980 sp=0xc00013f908 pc=0xa162b6
github.com/json-iterator/go.(*structEncoder).Encode(0xc00024e210, 0xc19bc8?, 0xc00015cae0)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect_struct_encoder.go:158 +0x765 fp=0xc00013fa68 sp=0xc00013f980 pc=0xa16cc5
github.com/json-iterator/go.(*Stream).WriteVal(0xc00015cae0, {0xb50f00, 0xc0001cbce0})
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect.go:98 +0x158 fp=0xc00013fad8 sp=0xc00013fa68 pc=0xa00138
github.com/json-iterator/go.(*frozenConfig).Marshal(0xc0001108c0, {0xb50f00, 0xc0001cbce0})
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/config.go:299 +0xc9 fp=0xc00013fb70 sp=0xc00013fad8 pc=0x9f7249
github.com/json-iterator/go.Marshal({0xb50f00?, 0xc0001cbce0?})
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/adapter.go:34 +0x3b fp=0xc00013fb98 sp=0xc00013fb70 pc=0x9eb89b
github.com/SAP/cloud-mta/mta.printResult({0xb0f2e0?, 0xc0001d7028?}, {0x0?, 0x1?, 0x0?}, 0x5000106?, {0x0?, 0x0?}, 0xbb0368, 0xbb0648)
        /home/circleci/go/src/github.com/SAP/cloud-mta/mta/mta_services.go:482 +0x2fe fp=0xc00013fcd8 sp=0xc00013fb98 pc=0xa44c3e
github.com/SAP/cloud-mta/mta.WriteResult(...)
        /home/circleci/go/src/github.com/SAP/cloud-mta/mta/mta_services.go:467
github.com/SAP/cloud-mta/mta.RunAndWriteResultAndHash({0xb8ce20?, 0x8be1d1?}, {0xc0001200a0, 0x50}, {0x0?, 0x0, 0x0?}, 0xbb0448)
        /home/circleci/go/src/github.com/SAP/cloud-mta/mta/mta_services.go:514 +0x14c fp=0xc00013fd88 sp=0xc00013fcd8 pc=0xa450ec
github.com/SAP/cloud-mta/cmd.glob..func10(0xe622a0?, {0xc000112d40?, 0x2?, 0x2?})
        /home/circleci/go/src/github.com/SAP/cloud-mta/cmd/mta.go:220 +0x4f fp=0xc00013fdd8 sp=0xc00013fd88 pc=0xaef2cf
github.com/spf13/cobra.(*Command).execute(0xe622a0, {0xc000112d00, 0x2, 0x2})
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/spf13/cobra/command.go:852 +0x67c fp=0xc00013feb0 sp=0xc00013fdd8 pc=0x90a45c
github.com/spf13/cobra.(*Command).ExecuteC(0xe63e20)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/spf13/cobra/command.go:960 +0x39c fp=0xc00013ff68 sp=0xc00013feb0 pc=0x90aa3c
github.com/spf13/cobra.(*Command).Execute(...)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/spf13/cobra/command.go:897
github.com/SAP/cloud-mta/cmd.Execute(...)
        /home/circleci/go/src/github.com/SAP/cloud-mta/cmd/root.go:33
main.main()
        /home/circleci/go/src/github.com/SAP/cloud-mta/main.go:11 +0x25 fp=0xc00013ff80 sp=0xc00013ff68 pc=0xaf0865
runtime.main()
        /usr/local/go/src/runtime/proc.go:250 +0x1fe fp=0xc00013ffe0 sp=0xc00013ff80 pc=0x7c8b1e
runtime.goexit()
        /usr/local/go/src/runtime/asm_amd64.s:1571 +0x1 fp=0xc00013ffe8 sp=0xc00013ffe0 pc=0x7f2f01
Do you need to install @sap/generator-fiori globally?
npm install -g @sap/generator-fiori
OR
yarn global add @sap/generator-fiori

Harshi
Product and Topic Expert
Product and Topic Expert
0 Kudos

manjunath_ks
I am also stuck at Step 9 of the Prepare SAP Build Work Zone, Standard Edition Setup tutorial.
I have node16 and have also globally installed fiori-generator, mta and SAPUI5 tooling.
I have used a validator on the mta.yaml but that does not solve this issue.

Could you please help me here.

Thank you!

I have followed the steps mentioned in the answer above but I still get this error

[2023-08-23 10:29:03]  INFO get parameters
unexpected fault address 0xffffffffffffffff
fatal error: fault
[signal 0xc0000005 code=0x0 addr=0xffffffffffffffff pc=0x99019f]

goroutine 1 [running]:
runtime.throw({0xd295b1?, 0x321182b26495fbb3?})
        /usr/local/go/src/runtime/panic.go:992 +0x76 fp=0xc000107620 sp=0xc0001075f0 pc=0x966516
runtime.sigpanic()
        /usr/local/go/src/runtime/signal_windows.go:261 +0x125 fp=0xc000107668 sp=0xc000107620 pc=0x9794e5
aeshashbody()
        /usr/local/go/src/runtime/asm_amd64.s:1343 +0x39f fp=0xc000107670 sp=0xc000107668 pc=0x99019f
runtime.mapiternext(0xc000094d80)
        /usr/local/go/src/runtime/map.go:934 +0x2cb fp=0xc0001076e0 sp=0xc000107670 pc=0x93ff6b
runtime.mapiterinit(0x0?, 0xc000243600?, 0xc000098681?)
        /usr/local/go/src/runtime/map.go:861 +0x228 fp=0xc000107700 sp=0xc0001076e0 pc=0x93fc48
reflect.mapiterinit(0xce1840?, 0xc0001077b0?, 0xc0001077d0?)
        /usr/local/go/src/runtime/map.go:1373 +0x19 fp=0xc000107728 sp=0xc000107700 pc=0x98ccf9
github.com/modern-go/reflect2.(*UnsafeMapType).UnsafeIterate(...)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/modern-go/reflect2/unsafe_map.go:112
github.com/json-iterator/go.(*mapEncoder).Encode(0xc0000a3440, 0xc000098258, 0xc0000dc0c0)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect_map.go:257 +0x21c fp=0xc0001077e0 sp=0xc000107728 pc=0xba827c
github.com/json-iterator/go.(*OptionalEncoder).Encode(0xc00006a960?, 0x0?, 0x0?)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect_optional.go:70 +0xa4 fp=0xc000107830 sp=0xc0001077e0 pc=0xbade84
github.com/json-iterator/go.(*onePtrEncoder).Encode(0xc0002435e0, 0xc000098258, 0xc0000a32f0?)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect.go:219 +0x82 fp=0xc000107868 sp=0xc000107830 pc=0xba0e22
github.com/json-iterator/go.(*Stream).WriteVal(0xc0000dc0c0, {0xcaf2e0, 0xc000098258})
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect.go:98 +0x158 fp=0xc0001078d8 sp=0xc000107868 pc=0xba0138
github.com/json-iterator/go.(*dynamicEncoder).Encode(0xcd6720?, 0xc000098501?, 0xc0000dc0d8?)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect_dynamic.go:15 +0x39 fp=0xc000107908 sp=0xc0001078d8 pc=0xba27f9
github.com/json-iterator/go.(*structFieldEncoder).Encode(0xc0000a31a0, 0xca5aba?, 0xc0000dc0c0)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect_struct_encoder.go:110 +0x56 fp=0xc000107980 sp=0xc000107908 pc=0xbb62b6
github.com/json-iterator/go.(*structEncoder).Encode(0xc0000a3260, 0xdb9bc8?, 0xc0000dc0c0)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect_struct_encoder.go:158 +0x765 fp=0xc000107a68 sp=0xc000107980 pc=0xbb6cc5
github.com/json-iterator/go.(*Stream).WriteVal(0xc0000dc0c0, {0xcf0f00, 0xc0000a2d50})
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/reflect.go:98 +0x158 fp=0xc000107ad8 sp=0xc000107a68 pc=0xba0138
github.com/json-iterator/go.(*frozenConfig).Marshal(0xc00006a960, {0xcf0f00, 0xc0000a2d50})
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/config.go:299 +0xc9 fp=0xc000107b70 sp=0xc000107ad8 pc=0xb97249
github.com/json-iterator/go.Marshal({0xcf0f00?, 0xc0000a2d50?})
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/json-iterator/go/adapter.go:34 +0x3b fp=0xc000107b98 sp=0xc000107b70 pc=0xb8b89b
github.com/SAP/cloud-mta/mta.printResult({0xcaf2e0?, 0xc000098258?}, {0x0?, 0x1?, 0x0?}, 0x8000102?, {0x0?, 0x0?}, 0xd50368, 0xd50648)
        /home/circleci/go/src/github.com/SAP/cloud-mta/mta/mta_services.go:482 +0x2fe fp=0xc000107cd8 sp=0xc000107b98 pc=0xbe4c3e
github.com/SAP/cloud-mta/mta.WriteResult(...)
        /home/circleci/go/src/github.com/SAP/cloud-mta/mta/mta_services.go:467
github.com/SAP/cloud-mta/mta.RunAndWriteResultAndHash({0xd2ce20?, 0xa5e1d1?}, {0xc000010300, 0x52}, {0x0?, 0x0, 0x0?}, 0xd50448)
        /home/circleci/go/src/github.com/SAP/cloud-mta/mta/mta_services.go:514 +0x14c fp=0xc000107d88 sp=0xc000107cd8 pc=0xbe50ec
github.com/SAP/cloud-mta/cmd.glob..func10(0x10022a0?, {0xc0000920e0?, 0x2?, 0x2?})
        /home/circleci/go/src/github.com/SAP/cloud-mta/cmd/mta.go:220 +0x4f fp=0xc000107dd8 sp=0xc000107d88 pc=0xc8f2cf
github.com/spf13/cobra.(*Command).execute(0x10022a0, {0xc0000920a0, 0x2, 0x2})
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/spf13/cobra/command.go:852 +0x67c fp=0xc000107eb0 sp=0xc000107dd8 pc=0xaaa45c
github.com/spf13/cobra.(*Command).ExecuteC(0x1003e20)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/spf13/cobra/command.go:960 +0x39c fp=0xc000107f68 sp=0xc000107eb0 pc=0xaaaa3c
github.com/spf13/cobra.(*Command).Execute(...)
        /home/circleci/go/src/github.com/SAP/cloud-mta/vendor/github.com/spf13/cobra/command.go:897
github.com/SAP/cloud-mta/cmd.Execute(...)
        /home/circleci/go/src/github.com/SAP/cloud-mta/cmd/root.go:33
main.main()
        /home/circleci/go/src/github.com/SAP/cloud-mta/main.go:11 +0x25 fp=0xc000107f80 sp=0xc000107f68 pc=0xc90865
runtime.main()
        /usr/local/go/src/runtime/proc.go:250 +0x1fe fp=0xc000107fe0 sp=0xc000107f80 pc=0x968b1e
runtime.goexit()
        /usr/local/go/src/runtime/asm_amd64.s:1571 +0x1 fp=0xc000107fe8 sp=0xc000107fe0 pc=0x992f01
Do you need to install @sap/generator-fiori globally?
npm install -g @sap/generator-fiori
OR
yarn global add @sap/generator-fiori
cinemandre
Product and Topic Expert
Product and Topic Expert
0 Kudos

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!

Harshi
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi andretusch
Did you have any luck with this?

Thank you!

katan_patel
Participant
0 Kudos

After it initially failed. I also got the same error. So I just deleted the tmp file and then re-ran the command. Then everything worked fine.

0 Kudos

Hi Ivan,
i got stuck in the same place with the same error.
I followed your instructions:
1) NodeJS 16.16.0
2, 3, 4) in order
5) added in both files
Could you take a look, what's the matter, please?
https://github.com/igor-kolyaskin/cloud-cap-risk-management/blob/main/mta.yaml

priyankaG
Participant
0 Kudos

Hey Igor. How did you make it work. i am facing the same issue

gaurav_setu
Explorer
0 Kudos

it is not working almost 1 year before this solution was provided. I am using node 18.

katan_patel
Participant
0 Kudos

Just worked perfectly for on Node 18.18.0 after I downgraded to MBT 1.4

0 Kudos

it worked and thank you very much!!

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

I'm glad it worked!