```Failed to compile. | | ./components/Experime...
# announcements
h
Copy code
Failed 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.
f
did you make changes to the code at all?
h
Yes
even I don't make changes still the error appear.
f
What OS are you using?
h
ubuntu
f
I know the latest code on the
main
branch compiles correctly on Ubuntu. Maybe your files became corrupted? I would try a fresh
git clone
and see if it still fails
h
yes with new clone its give error
are you using next.config.js
f
no
h
might be webpack 5 is giving error related to type checking
f
If you do
yarn tsc -v
what does it print?
h
Copy code
yarn run v1.22.18
$ /home/yasir/Documents/Turing/experimentation/node_modules/.bin/tsc -v
Version 4.3.5
Done in 0.33s.
👀