-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run any of editor because of command 'visual-scxml-editor.*' not found #45
Comments
I had the same issue, I'm running it on Linux and looking at the Developer Tools console it said it could not find "./editorglue" and would fail to load the extension. "EditorGlue.js" indeed exists and I presume this works in Windows as it does not care about case, but in Linux it matters, to fix it: inside extension.js is I changed: ps. This is a great extension by the way! |
Trying to figure out how to repro this. The extension works as installed for me on Linux, Windows, and macOS (two of which are case-sensitive). There is no place in the assets or code where |
Hello Phrogz, thanks a lot for checking, some additional input, I run Visual Code on Windows for editing code on a remote target using the ssh (ms-vscode-remote.remote-ssh), so Visual Code installs the scxml plugin to the remote Linux (Fedora) server, maybe it adds those lines during the remote installation? |
@filug Are you also using it on a remote target when this error occurs? |
Hello everyone, I have the same problem, I've tried to use the solution proposed by @diabluz but it raises the following error Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' https://*.vscode-cdn.net". Either the 'unsafe-inline' keyword, a hash ('sha256-ICa0DhwZQJsOd/Rn0N8H6FdQ71GfNL+op2zhAQ+Y4mM='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present. Does anyone knows how to solve it? |
Same error for me with a RemoteSSH target. Works fine when local. |
In all cases. I can reproduce this issue while I'm
In other words, so far, I was not able (unfortunately) to use this plugin on Debian 11 based workstation (others were not tested by me). That's what I was using today to test this issue VS Code version
Visual SCXML Editor extension version v0.5.0
|
Same error here when using VS Code on Windows, connected to Windows Subsystem for Linux running on the same machine |
Preconditions
Scenario
Error
Notes
I get similar error in case when I'm trying to open existing SCXML file. Then error looks like
I've tested several configurations:
erros are always the same.
The text was updated successfully, but these errors were encountered: