next-learn
next-learn copied to clipboard
Added missing fonts file in starter-example
When following the tutorial, and first time starting the build, it fails with
Cannot find module '@/app/ui/fonts' or its corresponding type declarations.ts(2307)
I copy / pasted the file from the final-example, to fix it.
If you don't want to have this code in the starter, then you should adopt the chapter one part, where it tells you to build the project, which of course will fail with all the imports of this file which is missing...
https://nextjs.org/learn/dashboard-app/getting-started
Followed by npm run dev to start the development server.
Honestly, I would not have a starter where things are already broken. Not sure why this file is that important and I saw, that it might get added later in the chapters... I would fix one or the other to have a running build also on the starter.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
next-learn-starter | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jan 24, 2024 7:17am |
next-seo-starter | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jan 24, 2024 7:17am |
@Cyclodex is attempting to deploy a commit to the Vercel Team on Vercel.
A member of the Team first needs to authorize it.
Hello, Can someone from Next team review this PR so we can get the starter project fixed? https://nextjs.org/learn/dashboard-app/getting-started This is a very simple fix. Thanks
This is intentional because following along with the tutorial, it shows you how to add the file 🙏