on ‎2022 Mar 22 3:48 PM
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
Request clarification before answering.
Thanks Helmut,
Sorry it's not yet resolved. Can you please confirm what is happening when you launch the Application Wizard in VSCode? That is, view -> Command Palette... -> Open Template Wizard.
This should show you all the installed generators - is the Fiori generator showing up as an installed generator there?
In order to see the logs of the Application Wizard, please open VScode settings -> preferences and search for 'Wizard'. You will then be able to update the Application Wizard Logging Level to 'Debug'. After this, you will able to see any log messages in the "Output" tab under the "Application Wizard" dropdown.
Regards,
Ian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ian,
thanks for your support.
When I "Open Template Wizard" I get the following error:
Error loading webview: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
The log does not give any valuable information
{ "label": "Application Wizard", "level": "info", "message": "Start Logging in Log Level: <debug>", "time": "2022-03-24T12:34:06.010Z"}{ "label": "Application Wizard", "level": "info", "message": "Full Logs can be found in the </home/helmut/.config/Code/logs/20220324T133359/exthost1/SAPOS.yeoman-ui> folder.", "time": "2022-03-24T12:34:06.012Z"}{ "label": "Application Wizard", "level": "info", "message": "SAP Web Analytics tracker was created for ApplicationWizard", "time": "2022-03-24T12:34:06.013Z"}I also had a look at the mentioned Full logs directory and found no error. The attached file is the zipped content of the logs folder vs-code-log.txt
Please rename it to .zip and extract it for further investigation.
Thanks and best regards
Helmut
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.