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
sudo make build
[sudo] password for erlangga:
cd ./ui && yarn build --modules-folder /ui/node_modules
yarn run v1.22.19
$ react-scripts build --modules-folder /ui/node_modules
Creating an optimized production build...
Failed to compile.
TS2786: 'Modal' cannot be used as a JSX component.
Its element type 'ReactElement<any, any> | Component<ModalProps, any, any> | null' is not a valid JSX element.
Type 'Component<ModalProps, any, any>' is not assignable to type 'Element | ElementClass | null'.
Type 'Component<ModalProps, any, any>' is not assignable to type 'ElementClass'.
The types returned by 'render()' are incompatible between these types.
Type 'React.ReactNode' is not assignable to type 'import("/home/erlangga/asynqmon/ui/node_modules/@types/react-redux/node_modules/@types/react/ts5.0/index").ReactNode'.
235 |
236 |
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
make: *** [Makefile:6: assets] Error 1
The text was updated successfully, but these errors were encountered:
sudo make build
[sudo] password for erlangga:
cd ./ui && yarn build --modules-folder /ui/node_modules
yarn run v1.22.19
$ react-scripts build --modules-folder /ui/node_modules
Creating an optimized production build...
Failed to compile.
TS2786: 'Modal' cannot be used as a JSX component.
Its element type 'ReactElement<any, any> | Component<ModalProps, any, any> | null' is not a valid JSX element.
Type 'Component<ModalProps, any, any>' is not assignable to type 'Element | ElementClass | null'.
Type 'Component<ModalProps, any, any>' is not assignable to type 'ElementClass'.
The types returned by 'render()' are incompatible between these types.
Type 'React.ReactNode' is not assignable to type 'import("/home/erlangga/asynqmon/ui/node_modules/@types/react-redux/node_modules/@types/react/ts5.0/index").ReactNode'.
235 |
236 |
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
make: *** [Makefile:6: assets] Error 1
The text was updated successfully, but these errors were encountered: