Skip to content

Issue with npm start #132

Open
Open
@bcsamrudh

Description

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 | /**

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions