ui5-tooling icon indicating copy to clipboard operation
ui5-tooling copied to clipboard

unable to use ui5/cli 3.* version

Open rabi84 opened this issue 1 year ago • 4 comments

Hi Team,

I am trying to migrate ui5/cli from 2.* version to 3.* version in UI repo, which contains one lib which also uses ui5/cli. Now I am getting the below error, I tried my best to fix but no clue yet, could you please help me on this.

verb graph:Module Could not find any build manifest in module ui-root verb graph:Module Could not find a configuration file for module ui-root

⚠️ Process Failed With Error

Error Message: Failed to create a UI5 project from module ui-root at /Users/YYY/ui. Make sure the path is correct and a project configuration is present or supplied.

Stack Trace: Error: Failed to create a UI5 project from module ui-root at /Users/YYY/ui. Make sure the path is correct and a project configuration is present or supplied. at projectGraphBuilder (file:///Users/YYY/ui/node_modules/@ui5/cli/node_modules/@ui5/project/lib/graph/projectGraphBuilder.js:120:9) at async graphFromPackageDependencies (file:///Users/YYY/ui/node_modules/@ui5/cli/node_modules/@ui5/project/lib/graph/graph.js:73:23) at async Object.handleBuild [as handler] (file:///Users/YYY/ui/node_modules/@ui5/cli/lib/cli/commands/build.js:165:11)

rabi84 avatar Mar 13 '24 16:03 rabi84

Hi @rabi84, thanks a lot for opening this issue. Could you share your project with us (github repo or zipped project)? In case your project is related to an SAP customer, feel free to open a customer case on https://support.sap.com/ and share the project there.

flovogt avatar Mar 15 '24 12:03 flovogt

Its important to execute the ui5 build or ui5 serve command in the project root directory, where the ui5.yaml and package.json have to be located

flovogt avatar Mar 15 '24 12:03 flovogt

I am executing commands in root dirtectory only. let me check with team if I can share the project repo here. Thanks

rabi84 avatar Mar 22 '24 10:03 rabi84

This issue has been automatically marked as stale because it has been open for 60 days with no activity. It will be closed in 10 days if no further activity occurs.

github-actions[bot] avatar May 21 '24 20:05 github-actions[bot]