on 03-01-2023 11:28 AM
I am getting below error while deploying app from business application studio.
Stack Trace:
TypeError: taskFunction is not a function
at file:///home/user/projects/financial-statement-system/node_modules/@ui5/cli/node_modules/@ui5/project/lib/build/TaskRunner.js:421:11
at async TaskRunner._executeTask (file:///home/user/projects/financial-statement-system/node_modules/@ui5/cli/node_modules/@ui5/project/lib/build/TaskRunner.js:437:3)
at async TaskRunner.runTasks (file:///home/user/projects/financial-statement-system/node_modules/@ui5/cli/node_modules/@ui5/project/lib/build/TaskRunner.js:122:5)
at async ProjectBuilder.build (file:///home/user/projects/financial-statement-system/node_modules/@ui5/cli/node_modules/@ui5/project/lib/build/ProjectBuilder.js:244:6)
at async ProjectGraph.build (file:///home/user/projects/financial-statement-system/node_modules/@ui5/cli/node_modules/@ui5/project/lib/graph/ProjectGraph.js:570:3)
at async Object.handleBuild [as handler] (file:///home/user/projects/financial-statement-system/node_modules/@ui5/cli/lib/cli/commands/build.js:143:2)
Does anyone know how to fix this issue ?
Hey, for us it was solved by splitting build and deploy configurations to different files. ui5.yaml for build and ui5-deploy.yaml for deployment task. Then running "npm run deploy" with such scripts defined:
"build": "ui5 build -a --clean-dest --include-task=generateManifestBundle generateCachebusterInfo",
"deploy": "npm run build && fiori deploy --config ui5-deploy.yaml && rimraf archive.zip",
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
7 | |
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.