Closed TravelTechCode closed 2 months ago
I see no error here. Did you check the deployed version if all the ressources are deployed and caches are deleted?
Yeah, The deployed file is of the version that of the local file here is the error when i start the app from the fiori launchpad.
Ui5ComponentLoader-dbg.js:84 Uncaught (in promise) ModuleError: failed to load 'cc/spreadsheetimporter/v1_2_0/Component.js' from ../577b0129-9ad3-4de3-8c5a-d088230ad054.combscilatamexternalmaterialmapping.combscilatamexternalmaterialmapping/~140824101543+0000~/thirdparty/customcontrol/spreadsheetimporter/v1_2_0/Component.js: 404
Yeah, it does not find the component, i dont know whats going on with that error alone
also in the sources i dont see this /thirdparty/customcontrol/spreadsheetimporter/v1_2_0 directory ..
check where you use the namespace anywhere like in the yaml file to build? There could be the namespace as well Just always search for the namespace globally in your project, not just manifest
Yes i have a namespace for the project "sap.cloud": { "public": true, "service": "combscilatamexternalmaterialmapping" }
in the ui5.yaml file also
metadata: name: com.bsci.latam.externalmaterialmapping
the service name is derived from it "com.bsci.latam" is namespace and "externalmaterialmapping" is the service name any adjustment i need to make??
i dont know how i can help you
I meant that do you think the namespace causing any issues here??
has nothing to do with my component, maybe with the deployment, but i dont know whats going wrong here
is central deployment of the spreadsheetimporter mandatory ??
Hi @marianfoo found the issue was with the ui5-task-zipper config. i see that the version also needs to be added here. earlier it wasnt the case if i am not mistaken.. builder: customTasks:
Hello @marianfoo, I'm facing the same issue but in my case I am using the spreadsheet importer as a ui5 application and not as a ressource. In my application I have four entities where I use the spreadsheet importer
It is working just fine in all four of them locally but in the deployed version of the app it is only working in 3 of them
And it gets stuck on loading and shows me this error in first entity Products
Do you have any idea why it doesn't work in just that entity ?Please I need to solve this asap
OData Version
OData V4
Draft
No
Scenario
Fiori Elements
Environment
BAS
UI5 Spreadsheet Component
v1.2.0
What happened?
Failed to load component error in deployed version of the app. I am also using the latest version of "ui5-task-btp-manifest": "^0.2.2"., This app is working locally.
Relevant log output
Spreadsheet Component Init
Manifest