W
Wasp-lang•14mo ago
Alex😊

Router.tsx Issue

Hey all! I'm seeing this error in my local host, but there's no router.tsx file in the project directory. Let me know if anyone has any ideas? [plugin:vite:import-analysis] Failed to resolve import "./ext-src/Assistant.jsx" from "src/router.tsx". Does the file exist?
1 Reply
martinsos
martinsos•14mo ago
Ha, so this sounds like you are importing Assistant.jsx but it doesn't exist. The thing is, Mage can make mistakes and make up stuff (it is GPT at the end!), so this is likely one of those. For simpler projects, it can produce them without mistakes or with small mistakes, while the more complex the project gets, more mistakes it does. So this is most likely one of those mistakes. Can you maybe post the code from your main.wasp file here? I think the mnistake is most likely there.
Want results from more Discord servers?
Add your server