#STuck on failed build which prevents me from continuing in the tutorial

8 messages · Page 1 of 1 (latest)

short gate
#

Build fails with..

Type error: Cannot find module '@/app/ui/fonts' or its corresponding type declarations.

There exists an app/ui/fonts.ts in the repository (locally and in gitlab), there are no "problems" in my ide (vscode), and the application appears to work flawlessly in the browser resolving the project locally. What gives?

Paste of Error log

I'm not for sure if it is using the most current commit to perform the build.

junior juniperBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

short gate
#

I'm going to try deleting and re-creating the project in vercel so that maybe that will trigger the build to definitely use the latest commit.

prime escarp
#

you can also try to rebuild without cache

#

go to the deployment -> redeploy -> uncheck the build with cache option

short gate
#

It was not checked when I last redeployed. I will certainly perform another redeploy now and verify that it is not checked. Ill let you know

#

Yes it definitely was not selected and the build fials in the same way. The commit and commit message of the commit being used is shown in vercel Deploy page and I recognize it as an old commit. Imna try just deleting and recreating the project in vercel.

#

Yay! Deleting and Re-creating it worked!