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

ERROR in ./node_modules/react-data-grid/lib/bundle.js (React with Typescript) #2773

Closed
iqasim-com opened this issue Dec 25, 2021 · 3 comments
Labels

Comments

@iqasim-com
Copy link

Describe the bug

Created a new project using
npx create-react-app my-app --template typescript

Installed react-data-grid same as mentioned in the quick start section but after running my app i am getting following error

image

To Reproduce

Couldn't found anything to reproduce it

Expected behavior

i have tried the Quick start section instructions so it should be come up with the basic table.

Environment

  • react-data-grid version: 7.0.0-beta.7
  • react/react-dom version: 17.0.2 / 17.0.2

image

Additional context

I have tried some stackoverflow answers but couldn't succeed.

tsconfig file
image

@iqasim-com iqasim-com added the Bug label Dec 25, 2021
@RikuVan
Copy link

RikuVan commented Dec 29, 2021

Had the same issue today trying to use in new Next project. Oddly it seem to work briefly then this error started.

@RikuVan
Copy link

RikuVan commented Dec 29, 2021

Ok, this is duplicate for #2568 it seems. Since this is only for a demo/lib evaluation I upgraded to React 18 to get it working.

@amanmahajan7
Copy link
Contributor

Closing at this is a duplicate issue. Please check #2787 (comment)

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

No branches or pull requests

3 participants