Open aarongsellin opened 4 months ago
same here, i run contentlayer on npm script "contentlayer": "contentlayer build"
, same error
I had the same issue.. I just copied the file from here.. https://raw.githubusercontent.com/shadcn-ui/taxonomy/main/contentlayer.config.js and changed what I wanted and it worked.. For me this configurations is still gibberish, so I can't help much.. but at least can give a file that is working! :D
Any updates on this? I'm getting the same error
Hello guys, I was following this YouTube tutorial on how to make a nice markdown viewer. I followed his steps to the dot, except for the fact that my project is in a turbo repo, and my docs are in the root of the
turborepo
, not of the next.js project.I also ran into some issues of the
compilerOptions
baseUrl
andcontentlayer/generated
, not being configured in thetsconfig.json
file. After fixing that I started running into the following issue.After that I ran yarn build in the
cntl-ui
project, not in the root of the turbo repo and It fixed that issue. Then I ranyarn contentlayer build
as instructed, and I got the error you see below.I'm creating this issue because one, I need help I really wan't this to work. Second It told me to consider opening an issue so I thought It might be important to other people stumbling across this in the future as well.