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

i18n support is not compatible with next export #386

Closed
Czaki opened this issue Jan 12, 2022 · 3 comments · Fixed by #387
Closed

i18n support is not compatible with next export #386

Czaki opened this issue Jan 12, 2022 · 3 comments · Fixed by #387
Assignees
Labels
bug Something isn't working P0 Critical Priority

Comments

@Czaki
Copy link

Czaki commented Jan 12, 2022

Description

When working with the description for napari hub I got i18n support is not compatible with next export error.

It looks related to #382

info  - Copying "static build" directory
Error: i18n support is not compatible with next export. See here for more info on deploying: nextjs.org/docs/deployment
    at /home/runner/work/PartSeg/PartSeg/napari-hub/frontend/node_modules/next/dist/export/index.js:247:19
    at async Span.traceAsyncFn (/home/runner/work/PartSeg/PartSeg/napari-hub/frontend/node_modules/next/dist/trace/trace.js:74:20)
error Command failed with exit code 1.

Steps/Code to Reproduce

https://github.com/4DNucleome/PartSeg/runs/4789673543?check_suite_focus=true

for PR 4DNucleome/PartSeg#489

Expected Results

Expected preview of a new text

Actual Results

Action failed

@Czaki Czaki added the bug Something isn't working label Jan 12, 2022
@neuromusic neuromusic added the P0 Critical Priority label Jan 12, 2022
@codemonkey800
Copy link
Collaborator

Dang I didn't realize that static exports didn't support the preview page. This wouldn't be a problem if/when we switch to a dedicated frontend server for the preview page, but until then we can just disable i18n for preview pages

@codemonkey800
Copy link
Collaborator

#387 has been merged. @Czaki could you check if this fixes the preview page build for you please?

@Czaki
Copy link
Author

Czaki commented Jan 12, 2022

Action passed. Looks working.

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

Successfully merging a pull request may close this issue.

3 participants