optimajet / formengine

Drag & Drop Form Builder Library for React.
https://formengine.io
31 stars 5 forks source link

On production build Viewer faces an error that Anonymous components are not allowed! #1

Closed sectem closed 8 months ago

sectem commented 8 months ago

Hi, Recently i started using formengine, but whenever I try to make a production build Formengine viewer gives me error () and nothing gets displayed on screen. details are attached below

Definer.ts:75 Uncaught Error: Anonymous components are not allowed! at define (Definer.ts:75:22) at RsBreadcrumb.tsx:39:29 at index.tsx:34:20 at index.tsx:34:20

My code is in screenshot

Screenshot 2023-12-19 at 12 31 16 AM

It perfectly run in dev but in production it gives error

sergeythrees commented 8 months ago

@sectem

Hi, Recently i started using formengine, but whenever I try to make a production build Formengine viewer gives me error () and nothing gets displayed on screen. details are attached below

Definer.ts:75 Uncaught Error: Anonymous components are not allowed! at define (Definer.ts:75:22) at RsBreadcrumb.tsx:39:29 at index.tsx:34:20 at index.tsx:34:20

Hello, thank you for reporting the bug. We will release the fixes within a week.

sergeythrees commented 8 months ago

Hi, Recently i started using formengine, but whenever I try to make a production build Formengine viewer gives me error () and nothing gets displayed on screen.

Hi, @sectem we have released a version of FormEngine with all the fixes: https://formengine.io/documentation/release-notes#102