Skip to content

@solidjs/vite-plugin: failed to load @solidjs/compiler #3195

Description

@vexcited

Describe the bug

[plugin vite-plugin-pwa:build]
Error: Build failed with 1 error:

[plugin solid] /srv/timetable/web/src/entry.tsx
Error: @solidjs/vite-plugin: failed to load @solidjs/compiler, which is required in every mode (it drives the lazy, refresh, and server-function transforms; compiler: "babel" only switches the JSX transform). Your platform should get a prebuilt native binary or the @solidjs/compiler-wasm32-wasi fallback — check that optional dependencies were installed.

Cause: o.initialize is not a function. (In 'o.initialize(e)', 'o.initialize' is undefined)
    at loadNativeCompiler (/srv/timetable/node_modules/.bun/@solidjs+vite-plugin@3.0.0-next.36+6cb688d84823b08f/node_modules/@solidjs/vite-plugin/dist/esm/index.mjs:3083:15)
    at async transform (/srv/timetable/node_modules/.bun/@solidjs+vite-plugin@3.0.0-next.36+6cb688d84823b08f/node_modules/@solidjs/vite-plugin/dist/esm/index.mjs:3709:30)
    at async <anonymous> (/srv/timetable/node_modules/.bun/rolldown@1.2.6/node_modules/rolldown/dist/shared/bindingify-input-options-4JJxbZl2.mjs:1539:30)
    at processTicksAndRejections (native:7:39)
    at aggregateBindingErrorsIntoJsError (/srv/timetable/node_modules/.bun/rolldown@1.2.6/node_modules/rolldown/dist/shared/error-HDibX49O.mjs:48:22)
    at <anonymous> (/srv/timetable/node_modules/.bun/rolldown@1.2.6/node_modules/rolldown/dist/shared/bindingify-input-options-4JJxbZl2.mjs:1451:60)
    at <anonymous> (/srv/timetable/node_modules/.bun/rolldown@1.2.6/node_modules/rolldown/dist/shared/bindingify-input-options-4JJxbZl2.mjs:1930:21)
    at <anonymous> (/srv/timetable/node_modules/.bun/rolldown@1.2.6/node_modules/rolldown/dist/shared/bindingify-input-options-4JJxbZl2.mjs:2127:18)
    at aggregateBindingErrorsIntoJsError (/srv/timetable/node_modules/.bun/rolldown@1.2.6/node_modules/rolldown/dist/shared/error-HDibX49O.mjs:48:22)
    at unwrapBindingResult (/srv/timetable/node_modules/.bun/rolldown@1.2.6/node_modules/rolldown/dist/shared/error-HDibX49O.mjs:18:128)
    at #build (/srv/timetable/node_modules/.bun/rolldown@1.2.6/node_modules/rolldown/dist/shared/rolldown-C9Hfg50O.mjs:133:34)
    at processTicksAndRejections (native:7:39) {
  errors: [Getter/Setter]

Your Example Website or App

https://code.vexcited.com/unilim/timetable

Steps to Reproduce the Bug or Issue

  1. cd web
  2. bun run build

Expected behavior

As a user, it should build ;)

Screenshots or Videos

No response

Platform

  • OS: Linux, Alpine (LXC Container in Proxmox)
  • Browser: /
  • Version: /

Additional context

# uname -a
Linux unilim 7.0.14-14-pve #1 SMP PREEMPT_DYNAMIC PMX 7.0.14-14 (2026-08-22T15:01Z) x86_64 Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions