STuck on failed build which prevents me from continuing in the tutorial
Answered
Pyrenean Mountain Dog posted this in #help-forum
Pyrenean Mountain DogOP
Build fails with..
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](https://dpaste.org/f4DYU)
I'm not for sure if it is using the most current commit to perform the build.
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](https://dpaste.org/f4DYU)
I'm not for sure if it is using the most current commit to perform the build.
6 Replies
Pyrenean Mountain DogOP
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.
you can also try to rebuild without cache
go to the deployment -> redeploy -> uncheck the build with cache option
Pyrenean Mountain DogOP
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.
Pyrenean Mountain DogOP
Yay! Deleting and Re-creating it worked!
Answer