I am not sure if this is a stupid question. I declare lots of types but when I try to export them in index.ts. v0 preview told me that it cannot find the files. If I comment out “export * from “./common”;”, then The file “./product” cannot be found.
I tried:
Download them and run in VScode. No error.
try to use @/types/common as absolute path. Still not Found in v0, cannot preview. No error in Local and building.
The tsconfig.json in Download project clearly defines
“baseUrl”: “.”,
“paths”: {
“@/“: [”./”]
}
Hi @jackpanger, sorry that you’re facing this issue. Can you share the chatID where you are facing this issue? This will help us try and reason about the issue.
Here is the ID: path-issue-Vlnee42lRw5. Should I share you a link and permission?
I use index.ts in types and translations folder.
At the beginning providers don’t work so I tried to change the provider to zustand. So far there are only import issues. No sure if provider would work well after import issue are fixed.