Skip to content
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

Show WebAssembly feature not working - ENOPRO #71

Open
AjaniBilby opened this issue Feb 9, 2024 · 0 comments
Open

Show WebAssembly feature not working - ENOPRO #71

AjaniBilby opened this issue Feb 9, 2024 · 0 comments

Comments

@AjaniBilby
Copy link

When trying to right-click Show WebAssembly on a .wasm file I get the following error:

The editor could not be opened due to an unexpected error: ENOPRO: No file system provider found for resource 'wasm-preview:/c%3A/Users/REDACTED/out.wasm'

This error message implies that I haven't registered some wasm-preview application to be able to open the file, but I can find no documentation about such a thing. Also in the settings for the extension there is a mention of a wai-language-server which when I look into the extension's files, only leads no a non-compiled single file rust project.

I assume this is probably just a configuration issue, but I can't find any information on how I am supposed to configure this plugin, nor any mention of a standard wasm LSP which I could install and would hopefully just work.


Extra likely unnecessary Context
When I use the right-click menus to re-save it as a .wat then back to a .wasm it still has the same issue, and also has no issue generating those variations suggesting there isn't any issue with the wasm file itself. Also for context here is the .wat version:

(module
  (type (;0;) (func (result i32)))
  (func (;0;) (type 0) (result i32)
    (local i32)
    i32.const 3
    local.set 0
    i32.const 0
    return
    unreachable))

So the extension does seem to be somewhat working

VSCode Version: 1.86.0
Plugin Version: 1.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant