Frontend imports a Go WASM file that is generated by the Makefile
Error recorded 1 times in PanelAlpha Engine deploys on Vite. The deploy log below is the recorded failure output.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen1 times
WhereVite
StatusResolve ReadyOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
The app imports vendor/wasm_exec.js, which make import copies from the Go toolchain and which is not committed, and its WASM module is built by the Makefile too. The Vite build alone cannot produce them.
What the log looks like
Deploy log
x Build failed in 388mserror during build:Could not resolve "../vendor/wasm_exec.js" from "src/main.js"file: /app/src/main.jsat getRollupError (file:///app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:397:41)at error (file:///app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:393:42)at ModuleLoader.handleInvalidResolvedId (file:///app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:21120:24)at file:///app/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:…