-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[bug] #2167
Comments
hi, I have the same problem. how to solve it ? |
I fixed the problem by downgrading to react-sortablejs v6.1.1 & sortablejs v1.14. npm i --save-dev @types/sortablejs |
This issue still persists. I need to work with 6.1.4 because I'm already using react 18. Do you have any solution for this besides downgrading to react-sortablejs 6.1.1? Thanks |
I'm also having this issue, can't downgrade to v6.1.1 because am using React 18. Are there any other solutions? Looks like there is a PR for this - SortableJS/react-sortablejs#247 |
Facing the same issue any fixes? |
Storybook v6.5.8 generates errors when using react-sortablejs component
in ./node_modules/react-sortablejs/dist/index.js 160:55
Module parse failed: Unexpected token (160:55)
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
this only started occuring when Storybook was upgraded from v6.4 to 6.5. I believe the issues is related to React v18 release.
sortablejs = ^1.15.0
@types/sortablejs = ^1.13.0
Additional context
@storybook/react: ^6.5.8
The text was updated successfully, but these errors were encountered: