-
Notifications
You must be signed in to change notification settings - Fork 69
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
ui5/cli 3.* - existing script is not working #937
Comments
With version 3 of From your description, it's unclear to me what the functions You might also want to consider switching to the Node.js API instead of invoking the CLI: https://sap.github.io/ui5-tooling/stable/#nodejs-api Also, please provide the exact version of the |
yes you are right with 3.* version it should be bin/ui5.cjs, I updated it as well. async function executeScript(script, args, cwd) { async function shellExecute(command, args, cwd) { |
Thank you for sharing some more code. However, it's still not enough for us to reproduce the behavior you are reporting. Would it be possible for you to share a working script that shows the issue? |
Hi , if (type === 'fork') { |
If you are an SAP customer, please feel free to raise an incident for us at https://support.sap.com/ if that allows you to share your project with us. I'm afraid we need an example project containing your custom script in order to reliably reproduce and analyze this issue. |
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. |
Expected Behavior:
The below code should work.
const ui5cli = require.resolve('@ui5/cli/bin/ui5.js');
await executeScript(ui5cli, ['build', '--include-task=generateManifestBundle', 'generateCachebusterInfo']);
Current Behavior
this is not working using ui5/cli 3.* version
const ui5cli = require.resolve('@ui5/cli/bin/ui5.cjs');
await executeScript(ui5cli, ['build', '--include-task=generateManifestBundle', 'generateCachebusterInfo']);
but this is working using ui5/cli 3.* version
const ui5cli = require.resolve('@ui5/cli/bin/ui5.cjs');
await shellExecute('node ' + ui5cli, ['build', '--include-task=generateManifestBundle', 'generateCachebusterInfo']);
Steps to Reproduce the Issue
execute below command using gulp and it is not completing, it is getting hung up in cleanupjobs
await executeScript(ui5cli, ['build', '--include-task=generateManifestBundle', 'generateCachebusterInfo']);
Context
nothing
The text was updated successfully, but these errors were encountered: