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鈥檒l 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 · 0 comments
Open

馃悰 Bug - broken npm run export #248

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

Comments

@anna-liepina
Copy link

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
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

1 participant