handsome-library-89124
06/16/2022, 11:15 AMFailed to compile.
|
| ./components/Experiment/ExperimentGraph.tsx:127:18
| Type error: This JSX tag's 'children' prop expects a single child of type 'ReactNode', but multiple children were provided.
|
| 125 | <div style={{ position: "relative" }}>
| 126 | {tooltipOpen && (
| > 127 | <TooltipWithBounds
| | ^
| 128 | left={tooltipLeft}
| 129 | top={tooltipTop}
| 130 | className={styles.tooltip}
error Command failed with exit code 1.
facing issue related to type-check
This error came when I start creating build, dev env is working fine.future-teacher-7046
handsome-library-89124
06/16/2022, 1:52 PMfuture-teacher-7046
handsome-library-89124
06/16/2022, 1:53 PMfuture-teacher-7046
main
branch compiles correctly on Ubuntu. Maybe your files became corrupted? I would try a fresh git clone
and see if it still failshandsome-library-89124
06/16/2022, 1:57 PMfuture-teacher-7046
handsome-library-89124
06/16/2022, 1:58 PMfuture-teacher-7046
yarn tsc -v
what does it print?handsome-library-89124
06/16/2022, 2:00 PMyarn run v1.22.18
$ /home/yasir/Documents/Turing/experimentation/node_modules/.bin/tsc -v
Version 4.3.5
Done in 0.33s.