vagabond-systems / jpmc-task-2

Starter repo for task 2 of JPMC's forage program
13 stars 13.86k forks source link

Issue with npm start #132

Open bcsamrudh opened 3 months ago

bcsamrudh commented 3 months ago

bank-merge-co-task-2@0.1.0 start react-scripts --openssl-legacy-provider start

(node:14644) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated. (Use node --trace-deprecation ... to show where the warning was created) (node:14644) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated. Starting the development server...

Browserslist: caniuse-lite is outdated. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme Failed to compile.

C:/Users/B C SAMRUDH/forage-jpmc-swe-task-2/src/App.tsx Type error: 'Graph' cannot be used as a JSX component. Its instance type 'Graph' is not a valid JSX element. The types returned by 'render()' are incompatible between these types. Type 'DOMElement<DOMAttributes, Element>' is not assignable to type 'ReactNode'. Property 'children' is missing in type 'DOMElement<DOMAttributes, Element>' but required in type 'ReactPortal'. TS2786

30 |    */
31 |   renderGraph() {

32 | return () | ^ 33 | } 34 | 35 | /**