[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-frontend-imports-a-go-wasm-file-that-is":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":17,"titleAccent":6,"lead":18,"facts":21,"why":36,"log":50,"fix":87,"engine":96,"related":100,"pitch":107},"vite","frontend-imports-a-go-wasm-file-that-is","Frontend imports a Go WASM file that is generated by the Makefile","Vite",{"description":9},"Learn what causes Frontend imports a Go WASM file that is generated by the Makefile, how PanelAlpha Engine responds to it during deployment.",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fvite",{"label":6},"",[19],{"text":20},"Error recorded 1 times in PanelAlpha Engine deploys on Vite. The deploy log below is the recorded failure output.",[22,27,30,32],{"label":23,"value":24,"tone":25,"tooltip":26},"Type","Error","err","An 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.",{"label":28,"value":29},"Seen","1 times",{"label":31,"value":7},"Where",{"label":33,"value":34,"tooltip":35},"Status","Resolve Ready","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":37,"body":38},"Why it happens",[39,41,44,46,48],{"text":40},"The app imports ",{"text":42,"code":43},"vendor\u002Fwasm_exec.js",true,{"text":45},", which ",{"text":47,"code":43},"make import",{"text":49}," 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.",{"heading":51,"block":52},"What the log looks like",{"header":53,"lines":54},"Deploy log",[55,59,63,67,71,75,79,83],{"segments":56},[57],{"text":58},"x Build failed in 388ms",{"segments":60},[61],{"text":62},"error during build:",{"segments":64},[65],{"text":66},"Could not resolve \"..\u002Fvendor\u002Fwasm_exec.js\" from \"src\u002Fmain.js\"",{"segments":68},[69],{"text":70},"file: \u002Fapp\u002Fsrc\u002Fmain.js",{"segments":72},[73],{"text":74},"at getRollupError (file:\u002F\u002F\u002Fapp\u002Fnode_modules\u002F.pnpm\u002Frollup@4.34.6\u002Fnode_modules\u002Frollup\u002Fdist\u002Fes\u002Fshared\u002FparseAst.js:397:41)",{"segments":76},[77],{"text":78},"at error (file:\u002F\u002F\u002Fapp\u002Fnode_modules\u002F.pnpm\u002Frollup@4.34.6\u002Fnode_modules\u002Frollup\u002Fdist\u002Fes\u002Fshared\u002FparseAst.js:393:42)",{"segments":80},[81],{"text":82},"at ModuleLoader.handleInvalidResolvedId (file:\u002F\u002F\u002Fapp\u002Fnode_modules\u002F.pnpm\u002Frollup@4.34.6\u002Fnode_modules\u002Frollup\u002Fdist\u002Fes\u002Fshared\u002Fnode-entry.js:21120:24)",{"segments":84},[85],{"text":86},"at file:\u002F\u002F\u002Fapp\u002Fnode_modules\u002F.pnpm\u002Frollup@4.34.6\u002Fnode_modules\u002Frollup\u002Fdist\u002Fes\u002Fshared\u002Fnode-entry.js:…",{"heading":88,"steps":89,"block":93},"How to fix it",[90],[91],{"text":92},"Commit the generated files, or deploy with a Dockerfile or recipe that runs the Makefile's Go\u002FWASM steps before the Vite build.",{"header":94,"lines":95},"Fix by hand",[],{"heading":17,"body":97,"block":98},[],{"header":17,"lines":99},[],{"heading":101,"items":102},"Apps affected",[103],{"title":104,"badge":105,"tone":25,"href":106},"agewasm","1 occurrence","\u002Fapps\u002Fmarinx\u002Fagewasm",{"heading":108,"body":109,"footNote":110,"docsLabel":111,"docsHref":112},"Try PanelAlpha Engine yourself.","The easiest way to turn your server into a safe, controlled environment for your AI agent. Deploy, manage and maintain any project from Claude Code, Cursor, Codex or any other MCP client. Open source under Apache 2.0, free to run.","Requires Ubuntu 24.04 or 26.04 · 2 GB RAM · 1 CPU","Read the documentation","https:\u002F\u002Fpanelalpha.com\u002Fdocs"]