hibiken / asynqmon

Web UI for Asynq task queue
MIT License
644 stars 142 forks source link

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. make: *** [Makefile:6: assets] Error 1 #310

Open enzshew opened 1 year ago

enzshew commented 1 year ago

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 |

237 | <Modal | ^^^^^ 238 | open={activeEntryId !== ""} 239 | onClose={() => setActiveEntryId("")} 240 | className={classes.modal}

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

thanggggg1 commented 2 months ago

have you solve this