Open tylergalpin opened 1 year ago
Bumping this with the message Contentlayer config change detected. Updating type definitions and data...
incase anyone else gets stuck waiting on that...
For some bizarre reason, you must first run npm run build
in the VSCode terminal, as it DOES NOT work in iTerm2 or Mac's built in terminal...
Thanks @tylergalpin for putting this up, I lost many hours
Facing exactly the same issue, took pretty long time to figure this out, and happened suddenly. Any clue why this may be happening?
Ref here: https://github.com/contentlayerdev/contentlayer/issues/415#issuecomment-1747539137
Bumping this with the message
Contentlayer config change detected. Updating type definitions and data...
incase anyone else gets stuck waiting on that...For some bizarre reason, you must first run
npm run build
in the VSCode terminal, as it DOES NOT work in iTerm2 or Mac's built in terminal...Thanks @tylergalpin for putting this up, I lost many hours
Thanks for this info. I experienced the same thing.
No discussion tab, so ¯_(ツ)_/¯
For those who, like me, are struggling to get contentlayer to generate the articles into the .contentlayer/generated folder, you'll need to run
pnpm build
ornpm run build
in the VS code terminal instead of Apple's Terminal.app. No clue why this works in vscode but not my normal terminal; see this post on stackoverflow from someone who experienced a similar issue.