-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Contentlayer is no longer maintained and causing multiple build errors on first try #844
Comments
I am trying to get it updated- contentlayerdev/contentlayer#638, otherwise I might just maintain a fork of it. |
@timlrx How long may it take to fix a problem with Contentlayer ? I wanna to use your blog starter kit ^^ |
@d90375 any specific problem you faced? Or just in general. The current setup with the blog actually works fine using yarn as eltel noted above. Npm complains about some peer dependency issues but you can just skip them. On the unified / markdown packages side, you just have to use the older version of most packages as the blog does or add a So mostly minor inconveniences. In any case, if it were to be updated, the main change would just be to bump up the package versions - I don't expect much changes required. |
That sounds like a good move. Thanks for getting back to me - looking forward to continuing to use what is, IMO, one of the best starter templates for Next.js. Thanks again for all you do. |
So, as an update on this - I've just tried to update my dependencies, and it seems contentlayer is now preventing the build on Vercel. Did you manage to fork your own version? |
maybe i am looking in the wrong spot but their might have been a fix made? https://github.com/tudoujunha/next-contentlayer/blob/main/components/mdx-components.tsx |
Somewhere along the way I must have upgraded |
I have the same problem with the Vercel deployment. Do you have any idea about changing the contentlayer lib to another tool? Does it indicate any? |
I'll give this a try. It's a pity, though, as I like to keep my dependencies up to date as much as possible. Downgrading always seems like just sticking a Bandaid on a bigger problem and invariably leads to dependency issues further down the line. |
Describe the bug
A clear and concise description of what the bug is.
Loads of build errors on first try due to contentlayer
To Reproduce
Steps to reproduce the behavior:
download zip of repo, open zip and npm install dependencies
Expected behavior
A clear and concise description of what you expected to happen.
the app to build out of the box
Screenshots
If applicable, add screenshots to help explain your problem.
System Info (if dev / build issue):
Browser Info (if display / formatting issue):
Additional context
Add any other context about the problem here.
I think V3 should abandon contentlayer if it's not being maintained/causing dependency issues
Many thanks
Terry
The text was updated successfully, but these errors were encountered: