You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any solution to this yet? I'm having the same issue. For me it seems to be related to trying to set up images. in the docs it's set up like this for the contentlayer.config:
fields: { image: { type: string }, },
But that throws the error
ReferenceError: string is not defined
When I change is to
fields: { image: { type: "string" }, },
I get the exact same error. I've tried this using 0.3.4 and 0.3.2 using Node v16.17.0
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Uh oh!
There was an error while loading. Please reload this page.
When running
pnpm run dev
I get the following error, which prevents the dev server from evenstarting:I'm trying to use Contentlayer with Next.js 14.2.5 (app router). Here's the corresponding stack trace:
This is a newly-bootstrapped project, with some example content thrown in the
contentlayer.config.ts
file and apackage.json
which contains:If I can usefully provide any more information, please let me know.
I suspect my issue relates to (if not is duplicative of) #659
The text was updated successfully, but these errors were encountered: