scaleflex / filerobot-image-editor

Edit, resize, and filter any image! Any questions or issues, please report to https://github.com/scaleflex/filerobot-image-editor/issues
MIT License
1.26k stars 321 forks source link

Receiving an error at the start #476

Open SmitKakani7 opened 1 week ago

SmitKakani7 commented 1 week ago

When trying to integrate filerobot-image-editor into a new React app, an error occurs during start.

image

package.json

jonasao commented 2 hours ago

@SmitKakani7 seems like the FileRobotImageEditor component is executing two requests against https://i18n.ultrafast.io/api/export?grid=353297d2-40b4-4684-a875-45a2178a8157 ...which fails and results in the exceptions you're experiencing.

I am experiencing the same, and it probably has something to do with translation of the component's text-strings, so the question will be: Is it possible to disable translation and thereby preventing these requests?

jonasao commented 1 hour ago

@SmitKakani7 Have you tried adding: <FileRobotImageEditor useBackendTranslations={false} ........>

This solved this issue for me.