Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build Workflow Management MTAR #1104

Open
pedromiguelfernandes opened this issue Nov 30, 2023 · 2 comments
Open

Unable to build Workflow Management MTAR #1104

pedromiguelfernandes opened this issue Nov 30, 2023 · 2 comments

Comments

@pedromiguelfernandes
Copy link

In Business Application Studio, while building the Workflow Management MTA project with a Task UI5 view, using the latest Build Tool (1.2.27) the system ends with the following error:

⚠️ Process Failed With Error

Error Message:
Invalid ui5.yaml configuration for project @sap/ux-ui5-tooling

Unsupported "specVersion"

/home/user/projects/xxxxxxxxx/workflow-ui-module/node_modules/@sap/ux-ui5-tooling/ui5.yaml:2

1: # https://sap.github.io/ui5-tooling/pages/extensibility/CustomServerMiddleware/
2: specVersion: "3.0"
^
Your UI5 CLI installation might be outdated.
Supported specification versions: "2.6", "2.5", "2.4", "2.3", "2.2", "2.1", "2.0", "1.1", "1.0", "0.1"
For details see: https://sap.github.io/ui5-tooling/pages/Configuration/#specification-versions

For details, execute the same command again with an additional '--verbose' parameter
[2023-11-30 15:40:46] ERROR could not build the "xxxxxxxxx" module: could not execute the "npm run build:cf" command: exit status 1
make: *** [Makefile_20231130154040.mta:37: xxxxxxxx] Error 1
[2023-11-30 15:40:46] ERROR could not build the MTA project: could not execute the "make -f Makefile_20231130154040.mta p=cf mtar= strict=true mode=" command: exit status 2
Error: could not build the MTA project: could not execute the "make -f Makefile_20231130154040.mta p=cf mtar= strict=true mode=" command: exit status 2

If in the file mentioned in the logs, I change the values from specVersion: "3.0" to "2.5" for example, the build is successful

Additional information:

  • MBT Version: Cloud MTA Build Tool version 1.2.27
  • OS Version: Windows 11 Enterprise Version 22H2 Build 22621.2715 | 64 bits
  • If possible, provide a link to the project: Not possible

Steps to Reproduce:

  1. Create a new Workflow Management MTA
  2. Through BAS Wizard -> Add Workflow Module
  3. Through BAS Wizard -> Add Approuter
  4. Through BAS Wizard -> Add Task UI
  5. Build project
@yutaoj
Copy link
Collaborator

yutaoj commented Dec 6, 2023

Hi pedromiguelfernandes,

In reproduce steps, which 'Dev Space' should be selected to create a new Workflow Management MTA on SAP Business App Studio ?

Thanks
Yutao

@pedromiguelfernandes
Copy link
Author

Hi Yutao,

I had this issue in two different landscapes, different subaccounts and different spaces. At this point, I don't know if the problem is in the generator, the build tool or just a simple case of PEBCAK.

Thank you for the support,
Pedro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants