openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Uncaught ReferenceError: jQuery is not defined at sap-ui-custom.js:2:1

Open soyuztechnologies opened this issue 4 years ago • 2 comments

OpenUI5 version: 1.90

Browser/version (+device/version): Chrome/Any

Any other tested browsers/devices(OK/FAIL): FAIL

URL (minimal example if possible):

User/password (if required and possible - do not post any confidential information here):

Steps to reproduce the problem:

  1. create a sample ui5 project in VS Code
  2. Run build ui5 build self-contained --all
  3. Add config to ui5.yaml file resources: configuration: paths: webapp: dist
  4. start ui5 serve
  5. Application fail to start with error "Uncaught ReferenceError: jQuery is not defined at sap-ui-custom.js:2:1"

image

What is the expected result? Application should start with self contained ui5 libraries w/o internet connection

What happens instead? Error comes : Uncaught ReferenceError: jQuery is not defined at sap-ui-custom.js:2:1

Any other information? (attach screenshot if possible)

soyuztechnologies avatar Apr 09 '22 07:04 soyuztechnologies

This sample app demonstrates how to use the UI5 Tooling. 'ui5 serve' starts "a local development server to work on your project" - it basically hosts the sources. The sample app shows that its build result can be hosted with the command 'npm run serve-dist'.

Could you please elaborate on the individual points, and maybe provide your sample app? Perhaps it makes more sense to report this in the UI5 Tooling repository.

JumpNRun avatar Apr 26 '22 14:04 JumpNRun

Since there is no response from the author for more than 4 weeks I'm closing the ticket.

dimovpetar avatar Jun 14 '22 07:06 dimovpetar