[solved] Running into build error with import even when it works locally.
Have a file
Layout.tsx
importing Header.tsx
both in same directory, but still runs into build error.![](https://utfs.io/f/8a7ac3a8-fc8b-4c9f-8349-5316ec09d288-4pl4mu.png)
37 Replies
![](https://utfs.io/f/964ed90f-397f-4b96-a746-7634e71893b6-4pl4mu.png)
do you have a default export in
Header.tsx
?yep
![](https://utfs.io/f/f53ac901-7a75-418f-81e8-4a940e33558b-4pl4mu.png)
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
im a bit new to Ts not sure what that is
did you create this app with
create-t3-app
?unfortunately the time i created this was using create-next-app (also new to t3)
Running into build error with import even when it works locally.is this a build error when deploying ?
have this:
in tsconfig
thats what your question implies
yep
do you have a github repo for this?
yep but it's private atm not sure if i have the rights to show
on vercel or something else?