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.
Hello Helmut,
That is a strange error :(, not sure what that means. Can you please validate that you have the Fiori generator installed? If you execute "view -> Command Palette... -> Open Template Wizard", this will show you all the generators that you have installed, please ensure the Fiori generator is in this list?
Can you restart VSCode to be sure it's not something that is cached? Otherwise, it may be that the Fiori generator did not install correctly. You can re-install it by doing the following:
- Open a terminal in VSCode
- Type `npm uninstall -g @sap/generator-fiori`. This should uninstall the generator.
- Type `npm install -g @sap/generator-fiori` to reinstall the generator.
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,
that didn't solve the problem. I can run the generator from yeoman but not from VS Code.
Here ist my environment:
VS Code
Version: 1.65.2
Commit: c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1
Date: 2022-03-10T15:36:26.048Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.11.0-46-generic snap
npm version: 8.4.0
Any other ideas? How can I view the log?
Thanks Helmut
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 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.