"default" is not exported by "src/entry-client.tsx"
Hi everybody,
I've noticed the following warning during build time in my project.
I tried to create a new project from scratch with > solid start > typescript > tailwindcss, and I was that this warning still persists.
I've tried to google it but nothing was found.
📦 Compiling client router...
vinxi building router client in client mode
vite v5.3.3 building for production...
virtual:$vinxi/handler/client (1:101): "default" is not exported by "src/entry-client.tsx", imported by "virtual:$vinxi/handler/client"
6 Replies
There’s a tailwind starter for solid start.
https://github.com/solidjs/solid-start/tree/main/examples/with-tailwindcss
You may want to look at this.
GitHub
solid-start/examples/with-tailwindcss at main · solidjs/solid-start
SolidStart, the Solid app framework. Contribute to solidjs/solid-start development by creating an account on GitHub.
The warning is not related to tailwind.
I just with the following settings and during build-time the warning is still there
Maybe this helps?
https://github.com/oven-sh/bun/issues/5633#issuecomment-1722542963
GitHub
[bun-types] Module '"fs"' has no default export · Issue #5633 · ove...
What version of Bun is running? 1.0.2+37edd5a6e389265738e89265bcbdf2999cb81a49 What version of bun-types is running? 1.0.2 What platform is your computer? Linux 5.15.124-20260-g158060cabb35 x86_64 ...
nah, this comes from vinxi trying to import default export from
src/entry-client.tsx
as the error already states.
there's no harm, it's fine to ignore it for now.
feel free to report it in github issues.Perfect. Thanks