-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Problems building using Lamina package #4821
Comments
When I try to build your The main issue you're reporting is coming from that package: pmndrs/lamina#35 (comment) |
For As the error comes from other library packaging error (same for lamina), I'll close this. |
The longer-term fix to stop people from running into these issues is sveltejs/cli#205 |
Describe the bug
Lamina is a package that provides a way of composing custom webgl shaders in layers. For some reason the module import does not work for the package
lamina
, see bug I opened here. Sveltekit does not seem to find named exports from thelamina/vanilla
package. While it works without problems indev
it fails when building.Following the example in the error message yields no better result and this instead:
*Workaround *
Only way I found to make this build is turning off SSR, like in this other app lamina-spatula hooks.ts
This builds, but I need SSR.
Reproduction
npm init svelte app-name
npm install lamina
npm run dev
and it works without problem as expectednpm run build
fails build with this errorAnother quick way to reproduce is to clone this repo: lamina-spatula and remove the disabling of ssr in the hooks.
Logs
System Info
Severity
serious, but I can work around it
Additional Information
No response
The text was updated successfully, but these errors were encountered: