-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[V8] You may need an additional loader to handle the result of these loaders #4500
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
Comments
this issue was first introduced in 8.5.15 - we are currently using 8.5.13 to build our front-end |
I will try with 8.5.13. Thanks for response. |
Working with 8.5.13 for now as @gear4s suggested. Any idea when will be fixed? |
try to change your browser targets from this: "browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}, to this: "browserslist": [
">0.2%",
"not dead",
"not op_mini all"
], it could also be an issue with your version of React-Scripts not supporting Babel version that implements the |
I've tried browserslist already but no luck. About react-scripts version, maybe. I will try later and write you. Thanks! |
Your issue is likely due to how Create React App processes dependency code, here is an issue from that repo with a more detailed explanation. |
I had this same issue when using v8 with Storybook. Fix was to extend the Storybook webpack config to process react-table. .storybook/main.js
|
@samyan @gear4s @patrickgalbraith Try out the newest TanStack Table We think PR #4552 should have fixed this issue. |
Working perfect! Thank you. |
@KevinVandy 8.7.0 works great! However I tried v8.7.3 and the issue has returned, was there a regression recently? |
Error I'm getting in 8.7.3
|
There have been no code changes pretty much between 8.7.0 and 8.7.3, which is making this hard to figure out why it is happening |
Personally i've rollback to version 8.5.11 allowed me to get arround the problem. it seems that the problem was introduced between 8.512 and 8.5.30 8.5.30 => KO |
I am also getting same error. I am using "react-scripts": "3.0.1" and "@tanstack/react-table": "8.7.2". any solution without changing browserlist. |
I also have this error. Any updates? |
Error with 8.7.2. Maybe reopen issue? |
I'm getting the same exact issue on |
@KevinVandy I'm sure that the issues are related to the @ellisPae @valentinkorzun @vishal-rathod-07 could you try to update |
Having the same issue with EDIT: Downgrading to 8.7.0 fixes it. |
@gear4s Updating |
Downgrading to 8.7.0 it solved the issue. The issue will also disappear if switching to Webpack 5, but it's not an option for the project I work on. |
Something has obviously changed when the package is built: // v8.7.0
onStateChange: updater => {
setState(updater);
options.onStateChange == null ? void 0 : options.onStateChange(updater);
}
// v8.7.4 (official)
onStateChange: updater => {
setState(updater);
options.onStateChange?.(updater);
}
// v8.7.4 (local build with YARN install)
onStateChange: updater => {
setState(updater);
options.onStateChange == null ? void 0 : options.onStateChange(updater);
} @KevinVandy if I do a build locally and install using I'm guessing this is because of changes to |
This works for me, thanks! |
@oneblockchain this should no longer be necessary in the latest version of table though |
The solution to this issue for me was multiple version for acorn were being pulled in as dependencies for other packages like webpack and ts-node. I ended up with 6.4.2, 7.4.1, and 8.8.2. I just added the appropriate resolution in my package.json: "resolutions": {
"acorn": "^8.5.0"
}, |
Describe the bug
I'm trying to run react app with your library but I get runtime error:
Your minimal, reproducible example
localhost
Steps to reproduce
This is my npm package:
My code:
Expected behavior
Get result.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Windows 11 // Node v16.151
react-table version
v8.5.22
TypeScript version
v4.2.3
Additional context
No response
Terms & Code of Conduct
The text was updated successfully, but these errors were encountered: