Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

203
Views
How can i run a specific SAPUI5 component locally?

I am looking up the documentation for the sap.m.sample.UploadCollection component. I've downloaded and ran the sample package locally using the following commands:

npm install 

and then

ui5 serve -o index.html

I get the following error in console when navigating to http://localhost:8080/index.html :

2022-08-15 16:56:35.802600 Failed to load component for container container - ModuleError: Failed to resolve dependencies of **'sap/m/sample/UploadCollection/Page.controller.js'**
 -> 'sap/m/MessageToast.js': failed to load 'sap/m/MessageToast.js' from ./resources/sap/m/MessageToast.js: script load error  
 ModuleError: Failed to resolve dependencies of 'sap/m/sample/UploadCollection/Page.controller.js'

If i move the Page.contoller.js to a newly created controller folder and move the Page.view.xml to the newly created view folder then a different error occurs:

2022-08-15 16:59:33.999300 Failed to load component for container container - Error: resource sap/m/sample/UploadCollection/Page.view.xml could not be loaded from ./Page.view.xml. Check for 'file not found' or parse errors. Reason: Not Found  
 Error: resource sap/m/sample/UploadCollection/Page.view.xml could not be loaded from ./Page.view.xml. Check for 'file not found' or parse errors. Reason: Not Found
    at eval (LoaderExtensions.js?eval:325:19)
    at async Promise.all (index 0)

How can the project be run locally ?

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!