Skip to content
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

🐛 Bug - broken npm run export #248

Open
anna-liepina opened this issue Jan 15, 2024 · 1 comment
Open

🐛 Bug - broken npm run export #248

anna-liepina opened this issue Jan 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@anna-liepina
Copy link
Contributor

anna-liepina commented Jan 15, 2024

Bug report

if you use npm run export it will generate error
Error: i18n support is not compatible with next export.

if you use it without i18n
it comes as
Error: Error serializing '.dehydratedState.queries[0].queryKey[1].locale' returned from 'getStaticProps' in "/404".

Summary

if you use npm run export it will generate error
Error: i18n support is not compatible with next export.

if you use it without i18n
it comes as
Error: Error serializing '.dehydratedState.queries[0].queryKey[1].locale' returned from 'getStaticProps' in "/404".

Environment

node 18.19

Steps to reproduce

it is your repository without .husky hooks
git clone https://github.com/anna-liepina/explore-cwa-next
npm i
npm run export

Expected results

successful export

Actual results

error :(

@anna-liepina anna-liepina added the bug Something isn't working label Jan 15, 2024
@anna-liepina anna-liepina changed the title 🐛 Bug - npm run export 🐛 Bug - broken npm run export Jan 15, 2024
@denisbetsi
Copy link

It appears that contentful support for next.js is no longer supported. Even their own example available on the dashboard fails deployment on Netlify. And no one is looking at any of the bug reports here. Too bad, looked like a great service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants