Closed vobu closed 3 years ago
Thanks @vobu and @jdtimmerman for both detailed bug reports (and solution) proposals :)
I'll fix the issue first thing tomorrow.
PS: You can also solve the issue with the keepResources
option:
customTasks:
- name: ui5-task-zipper
afterTask: uglify
configuration:
keepResources: true
archiveName: uimodule
But removing it overall is the best solution
Thanks for reporting. The issue should be fixed now
Easy-Ui5 version: 2.4.2
OS/version: macOS 11.1
Browser/version (+device/version): -doesn't apply-
Steps to reproduce the problem:
yo easy-ui5
npm run deploy
...all fine, local build executes, upload + deployment works...404 Not found
What is the expected result? see the bare bones ui5 app running on cf
What happens instead? http 404 - not found
Any other information? (attach screenshot if possible) reason is that in
/uimodule/ui5.yaml
, a custom builder task is defined to zip up the result ofui5 build
. theuimodule.zip
then ends up as/approuter/uimodule/webapp/uimodule.zip
and upon deployment to cf doesn't get extracted automatically, but stays as is (as a zip).possible remedies:
/mta.yaml
for deployment of project type "Application Router @ Cloud Foundry"