amosbastian / template

A Next.js 13 application with authentication and payments, built with PlanetScale, Drizzle ORM, Lucia, Tailwind and LemonSqueezy
MIT License
251 stars 19 forks source link

Contentlayer error #3

Open jamesholcomb opened 9 months ago

jamesholcomb commented 9 months ago

hi amos, seeing this error on a new install...

- wait compiling /(marketing)/blog/page (client and server)...
- error ./app/(marketing)/blog/page.tsx:2:0
Module not found: Can't resolve '@template/contentlayer'
  1 | import { BRAND_NAME } from "@template/configuration";
> 2 | import { allPosts } from "@template/contentlayer";
  3 | import { ArticleCard } from "@template/ui/blog/server";
  4 | import { compareDesc } from "date-fns";
  5 |

seems .contentlayer folder is not getting generated?

apikmeister commented 9 months ago

have you build?