-
-
Notifications
You must be signed in to change notification settings - Fork 505
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Preflight Checklist
- I have read the troubleshooting guide
- I have searched existing issues and this is not a duplicate
- This is a bug with the VS Code extension, not with how Prettier formats code
Issue Summary
after upgrade to v12.1.0, plugin based on wasm does not work anymore
["ERROR" - 08:41:43] WebAssembly.instantiateStreaming is not a function
TypeError: WebAssembly.instantiateStreaming is not a function
at file:///Users/caicongcong/dev/warpo/node_modules/assemblyscript-prettier/node_modules/assemblyscript/dist/assemblyscript.js:9:38049
Reproduction Repository
https://github.com/wasm-ecosystem/warpo
Steps to Reproduce
- clone the repo
- change some format in assemblyscript/src/...
- format with plugin
Expected Behavior
plugin with wasm can be load successfully
Actual Behavior
error
Operating System
macOS
VS Code Version
Version: 1.108.1 Commit: 585eba7c0c34fd6b30faac7c62a42050bfbc0086 Date: 2026-01-14T14:55:44.241Z Electron: 39.2.7 ElectronBuildId: 12953945 Chromium: 142.0.7444.235 Node.js: 22.21.1 V8: 14.2.231.21-electron.0 OS: Darwin arm64 25.2.0
Prettier Extension Version
v12.1.0
Prettier Version
3.6.2
Prettier Extension Logs
["ERROR" - 08:41:43] WebAssembly.instantiateStreaming is not a function
TypeError: WebAssembly.instantiateStreaming is not a function
at file:///Users/caicongcong/dev/warpo/node_modules/assemblyscript-prettier/node_modules/assemblyscript/dist/assemblyscript.js:9:38049
Prettier Configuration
printWidth: 120
tabWidth: 2
useTabs: false
semi: true
singleQuote: false
quoteProps: "as-needed"
jsxSingleQuote: false
trailingComma: "es5"
bracketSpacing: true
arrowParens: "always"
vueIndentScriptAndStyle: false
endOfLine: "lf"
plugins:
- assemblyscript-prettierrkorzhoffCopilot and future-h-hasegawa-hb
Metadata
Metadata
Labels
bugSomething isn't workingSomething isn't working