cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Fiori Tools: error loading webview

htammen
Active Contributor
0 Likes
2,919

I've installed Fiori Tools in my local VS Code installation.
When I run "Fiori: Open Application Generator" from the Command Palette I get this error:

Error loading webview: Error: Could not register service workers: 
InvalidStateError: Failed to register a ServiceWorker:
The document is in an invalid state..

Installed Fiori Tools
version: v1.5.2
Last updated: 2022-03-17

Any suggestions?

Thanks Helmut

View Entire Topic
IanQuigley
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Helmut,

Thanks for the extensive information. It's a strange one, and it looks like the Application Wizard is not installed successfully in your VSCode environment. The application wizard is a VSCode extension from SAP that should be a wrapper for any Yeoman generators that are installed locally (including the Fiori generator). For some reason, there's an error on startup with it.

Can I suggest that you uninstall the Application Wizard and re-install it? In the extensions view in VSCode you should be able to uninstall it, and then search for it again in the Marketplace to re-install it. I'll also ask the development team for the Application Wizard to comment here to see if they can support you.

Thanks

Ian

htammen
Active Contributor
0 Likes

Things become strange now.

As you suggested I deinstalled the application wizard.
When I, after a restart of VS Code, go to the marketplace and click any Extension I get this strange error. I havn't even clicked the "install" button, just clicked on the extension in the list view.

I guess my environment is the problem but I have no idea where to start the search.

Thanks so far
Helmut