question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Two application use a customer library issue

See original GitHub issue

OpenUI5 version: 1.98.0 Browser/version (+device/version): Chrome 98.0.4758.102

Any other tested browsers/devices(OK/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. 2. 3. When the app is clicked, an error will be reported when loading the dependent library.

What is the expected result? Both apps can load our library preload schema, sap/fhir/library-preload.js

What happens instead? failed to load JavaScript resource: sap/fhir/library-preload.js

Any other information? (attach screenshot if possible) Hi, Our team developed our library. Loading library-preload.js works when our launchpad has only one application that depends on this library. manifest.json "sap.ui5": { "dependencies": { "minUI5Version": "1.7.0", "libs": { "sap.fhir": {} } }, "resourceRoots": { "sap.fhir": "./resources/sap/fhir" } package.json "dependencies": { "openui5-fhir": "2.2.8", }, "ui5": { "dependencies": [ "@sap/ui5-builder-webide-extension", "openui5-fhir" ] } But now when both apps dependencies this library, opening either app in launchpad will give the error in the screenshot. Error screenshot: Screen Shot 2022-03-07 at 1 51 47 PM

Thanks!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
flovogtcommented, Mar 7, 2022

Hi Peng, using a reuse library in the launchpad is definitely a topic for the launchpad team. Let’s close the issue here and follow-up internally.

@MatthiasSchmalz already published a deep-dive series about the launchpad service and how it can be used.

Following “Part 2” should do the work for you.

0reactions
peng3693commented, Mar 7, 2022

Hi Peng,

this issue is addressed with an SAP internal incident 2180433832. Please to don’t publish SAP internal URLs in this public git hub space.

Greetings, Peter.

Hi Peter,

I re-mosaic the sap internal link in the screenshot above. This SAP internal incident was created by me, but the launchpad team thinks that this is not their issue, it is an issue of library reuse, so they are not very clear on what to do, so I created this issue here. I saw some information saying that the library is to be deployed to BTP, is that true? Do you know how to deploy it, I haven’t seen a specific operation document.

Best Regards, Peng

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to create a shared library and associate it with the ... - IBM
1. Expand Applications and select Enterprise Applications. 2. Select the Enterprise Application you want to modify and then select Shared library references in ......
Read more >
Does Tomcat load the same library file into memory twice if ...
Both applications share the same libraries. Which are stored for example in tomcat/webapps/App1/WEB-INF/lib . Are both libraries loaded twice in ...
Read more >
3rd Party library crashed when reading Active Directory - issue was ...
I just have a question: We have a customer who had a problem mit Active Directory. Our software (it is a Java application...
Read more >
Code dependencies are the devil. - freeCodeCamp
A former client of mine built their app using a Backend-as-a-Service provider owned by Facebook, called Parse. They used a JavaScript client ......
Read more >
Access to Library Resources and Services | Advocacy ...
Millions of people use these resources to enhance their digital literacy skills, ... application, and service providers to make informed choices; and 2) ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found