Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

204
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda