-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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 100:16 #2928
Comments
Same issue as well. Really critical any help? |
Install the previous version, it is only an issue with the latest. |
Was able to resolve it. It was an issue with javascript's optional chaining syntax Then had to install these in package.json If your issue is not with storybook, still try upgrading your webpack to webpack5 |
It seems to be an issue with the bundling itself somehow as even old releases have this issue for me if I build them locally. My guess is that probably some package has been upgraded, which somehow has broken the build process/output as well. With this change it seems to work again and this specific issue is gone. |
This issue happening new release as well, any solution to resolve this issue?
@vincaslt kindly share which previous version working? |
I was able to get this working by downgrading to +1 to fixing this on all versions greater than |
I also hit the same issue while trying the latest versions, such as beta-19, and beta-20, does anybody understand what the root cause is? mind share your thoughts please if yes? |
It is probably the same issue for everyone, just post for reference, this suggestion worked for me - https://stackoverflow.com/questions/67543182/react-babel-you-may-need-an-additional-loader-to-handle-the-results-of-these |
Describe the bug
ERROR in ./node_modules/react-data-grid/lib/bundle.js 100:16
Module parse failed: Unexpected token (100:16)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| useLayoutEffect(() => {
| if (!isSelected) return;
| preventScroll: true
| });
To Reproduce
Link to code example:
Expected behavior
Environment
react
/react-dom
version: "^17.0.1" /"^17.0.1"Additional context
The text was updated successfully, but these errors were encountered: