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

Issue With Vite Adapter (Vinxi) #19

Open
qlaffont opened this issue Apr 24, 2024 · 0 comments
Open

Issue With Vite Adapter (Vinxi) #19

qlaffont opened this issue Apr 24, 2024 · 0 comments

Comments

@qlaffont
Copy link

Hello,

I have an error when I try to build (pnpm build) :

Repro : https://github.com/qlaffont/test-solid-thumbhash

Logs :

pnpm build

> example-with-tailwindcss@ build /home/quentin/Documents/dev/test/test-solid-thumbhash
> vinxi build

vinxi v0.3.11


⚙  Building your app...


📦 Compiling ssr router...
vinxi building router ssr in http mode
vite v5.2.10 building SSR bundle for production...
✓ 48 modules transformed.
.vinxi/build/ssr/assets/test-S2djG7AK.png         1.14 kB
.vinxi/build/ssr/.vite/manifest.json              1.92 kB
.vinxi/build/ssr/assets/test-CAgFW0xs.jpg       329.88 kB
.vinxi/build/ssr/assets/ssr-Hm9xi2M4.css          6.92 kB
.vinxi/build/ssr/index.js                         0.67 kB
.vinxi/build/ssr/_...404_.js                      0.78 kB
.vinxi/build/ssr/assets/components-DhYD1MXP.js    0.82 kB
.vinxi/build/ssr/about.js                         0.99 kB
.vinxi/build/ssr/assets/routing-D05AJeJb.js       7.51 kB
.vinxi/build/ssr/ssr.js                          20.37 kB
✓ built in 757ms
✔ build done                                                                                                                                                            2:31:11 PM


📦 Compiling client router...
vinxi building router client in client mode
vite v5.2.10 building for production...
virtual:#vinxi/handler/client (1:118): "default" is not exported by "src/entry-client.tsx", imported by "virtual:#vinxi/handler/client".
✓ 53 modules transformed.
x Build failed in 538ms

 ERROR  [vite:asset] Plugin error - Unable to get file name for unknown file "C_p2E6Ly".                                                                                 2:31:11 PM

  at getRollupError (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:392:41)
  at error (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/parseAst.js:388:42)
  at FileEmitter.getFileName (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19131:24)
  at renderAssetUrlInJS (node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:15886:26)
  at Object.renderChunk (node_modules/.pnpm/[email protected]/node_modules/vite/dist/node/chunks/dep-DkOS1hkm.js:15979:23)
  at node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:19611:40 



 ERROR  [vite:asset] Plugin error - Unable to get file name for unknown file "C_p2E6Ly".                                                                                 2:31:11 PM

 ELIFECYCLE  Command failed with exit code 1.

thanks for your help !

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