Typescript and reactscripts compatibilit

I added some typecript code in my code base and got this error on build
2 Replies
Percy
Percy13mo ago
Project ID: N/A
Shaheerchry
ShaheerchryOP13mo ago
#10 3.669 npm ERR! ERESOLVE could not resolve #10 3.669 npm ERR! #10 3.669 npm ERR! While resolving: [email protected] #10 3.669 npm ERR! Found: [email protected] #10 3.669 npm ERR! node_modules/typescript #10 3.669 npm ERR! typescript@"^5.2.2" from the root project #10 3.669 npm ERR! peer typescript@">= 2.7" from [email protected] #10 3.669 npm ERR! node_modules/fork-ts-checker-webpack-plugin #10 3.669 npm ERR! fork-ts-checker-webpack-plugin@"^6.5.0" from [email protected] #10 3.669 npm ERR! node_modules/react-dev-utils #10 3.669 npm ERR! react-dev-utils@"^12.0.1" from [email protected] #10 3.669 npm ERR! node_modules/react-scripts #10 3.669 npm ERR! react-scripts@"5.0.1" from the root project #10 3.669 npm ERR! 1 more (tsutils) #10 3.669 npm ERR! #10 3.669 npm ERR! Could not resolve dependency: #10 3.670 npm ERR! peerOptional typescript@"^3.2.1 ^4" from [email protected] #10 3.670 npm ERR! node_modules/react-scripts #10 3.670 npm ERR! react-scripts@"5.0.1" from the root project #10 3.670 npm ERR! #10 3.670 npm ERR! Conflicting peer dependency: [email protected] #10 3.670 npm ERR! node_modules/typescript #10 3.670 npm ERR! peerOptional typescript@"^3.2.1 ^4" from [email protected] #10 3.670 npm ERR! node_modules/react-scripts #10 3.670 npm ERR! react-scripts@"5.0.1" from the root project
Want results from more Discord servers?
Add your server