-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npx contentlayer2 build gives ENOENT error #41
Comments
Next 14.2.12 seems to work fine: https://stackblitz.com/edit/github-ekmxur-jgj1xq?file=package.json Could you create a small reproducible example? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As mentioned, running
npx contentlayer2 build
is giving the following error:
Just started happening. Running contentlayer2 0.5.1, Next.js 14.2.12 and Node 20.17.0. This is breaking
next dev
andnext build
. Do have type:module in package.json which throws webhook error as mentioned in #20 but shouldn't cause any breaking problems so think this is something else. Would love a solution ASAP. Thanks!!The text was updated successfully, but these errors were encountered: