SolidJSS
SolidJSโ€ข13mo agoโ€ข
2 replies
RATIU5

Wrapping SolidStart: JSX is an unknown file extension

https://stackblitz.com/edit/sb1-k8bui6zy

I am trying to create my own CLI to wrap around SolidStart CLI (Vinxi) to make a sort of meta-SolidStart framework. I kept running into problems with my project so I successfully re-created the errors in the stackblitz link above.
I left some Readme files inside the packages to clarify what I'm trying to do. I want to use my custom CLI to control Vinxi, so I setup a CLI tool to run this code as a proof of concept:
const app = defineConfig({}); // Will later populate the config
await app.dev();

I'm a bit unfamiliar working on complex monorepo setups, and I believe that's what problem I'm really facing. The error I get is:
Failed to load url `example/src/entry-server.tsx` in virtual:$vinxi/handler/ssr. Does the file exist?

I am unsure on how to proceed in fixing this. Any help is appreciated!
Was this page helpful?