cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BAS Visual Editor Error for Adaptation Project: sap/bc/lrep/appdescr_variant_preview/

cguttikonda24
Participant
0 Kudos

Hi BAS Team,

While opening the UI5 Visual Editor from BAS for an adaptation project, it failed to load with the below error.

Any help would be helpful.

The mentioned service is active under SICF.

Regards,

Chanakya.

Accepted Solutions (0)

Answers (2)

Answers (2)

sensen_wei2
Participant
0 Kudos

Hi,

I am having a similar issue; in my case I can open the UI5 editor/preview perfectly in BAS, but the same error comes when I connected my VS code to the same BAS dev space, and tried to open the UI5 editor/preview in VS code.

I have already npm installed.

I guess it is because BAS desktop client connects to BAS via SSH by forwarding localhost:8888 to remote url, but BAS may lack the ability to handle such remote call.

tracy_barkley
Employee
Employee
0 Kudos

Hi Chanakya,

The issue might be is caused by missing dependencies.

For example if the node_modules folder is missing in the project. After the project is generated, a notification that says "Installing dependence ..." should be displayed in the bottom right corner of SAP Business Application Studio. This is just before the notification about opening the project in a new workspace.

There are two options:

• generate a new adaptation project and wait until the dependencies are installed before opening the project in a new workspace

• open a terminal in the root of your project and run "npm install" that will create the node_modules folder with all the dependencies required

All the best, Tracy
cguttikonda24
Participant

HI Tracy,

Thank you for the response.

Did try both the options with no luck.

It's the same error.

Regards,

Chanakya.

JannisBer
Discoverer
0 Kudos

Hi Tracy,

we currently face a similar problem where we get an 400 HTTP-Code as Response with the following error.

Error: Validierung der Inline-Änderung fehlgeschlagen<br/>Error: Eigenschaft nicht im Schema: bundleUrl

I installed all dependencies and the /sap/bc/lrep is activated. While starting the Visual Editor, it seems to load for a bit but closes the window shortly after with the error from above.

Best Regards,

Jannis