Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with npm start #132

Open
bcsamrudh opened this issue Jul 12, 2024 · 0 comments
Open

Issue with npm start #132

bcsamrudh opened this issue Jul 12, 2024 · 0 comments

Comments

@bcsamrudh
Copy link

[email protected] 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 | /**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant