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
I'm trying to build with a custom preset to suit the AlibabaCloud ESA Pages ER function with Docus, but I'm not enable i18n functions in case. After push and build, I got this error:
2026-01-07 23:37:21 Copy function file failed: build er file failed Exit code: 1
▲ [WARNING] Duplicate key "provider" in object literal [duplicate-object-key]
LoCyanFrpDocs/.output/server/index.mjs:13:2627216:
13 │ ...ities:[1,2],format:["webp"],provider:"none",providers:{none:{se...
╵ ~~~~~~~~
The original key "provider" is here:
LoCyanFrpDocs/.output/server/index.mjs:13:2627148:
13 │ ...1280,"2xl":1536},presets:{},provider:"none",domains:[],alias:{}...
╵ ~~~~~~~~
✘ [ERROR] Could not resolve import("../../i18n/locales/**/*.json")
LoCyanFrpDocs/.output/server/index.mjs:13:2613561:
13 │ ...Async(()=>import(`../../i18n/locales/${j}.json`)),N=await N,u()...
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error
Is there any way to disable i18n dynamic import to prevent buildtime error?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to build with a custom preset to suit the AlibabaCloud ESA Pages ER function with Docus, but I'm not enable i18n functions in case. After push and build, I got this error:
Is there any way to disable i18n dynamic import to prevent buildtime error?
Beta Was this translation helpful? Give feedback.
All reactions