-
Notifications
You must be signed in to change notification settings - Fork 100
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
Can't import the named export 'ScrollMenu' #234
Comments
Hi, can you please post more info about your environment, e.g. CRA/NextJS|webpack and version. Also post output of
If you using CRA it will be a good idea to use Or you can use 4.0.1 for now (e.g. Also can try import like
|
I also meet the same issue even if my
can be solved through:
but if I try this: the print result of Menu is: |
I'm having a weird issue where my scroll isn't being implemented - I've bypassed the bug of the can't import the named export...but my scroll is just not working horizontally for some reason? I've tried importing the CSS you recommended, but when I do that it cuts off and only shows a portion of the day that I want to see and isn't scrollable |
Let's keep it 1 issue 1 problem, and better to have examples to reproduce bugs. |
Same problem. I am using vite@2.9.5. # error log
Uncaught SyntaxError: The requested module '/node_modules/.pnpm/react-horizontal-scrolling-menu@4.0.3_react@18.2.0/node_modules/react-horizontal-scrolling-menu/dist/index.cjs?import' does not provide an export named 'ScrollMenu'
|
Released |
upgrading to 4.0.4 works for me:) thx for quick fixing |
Hi! 👋
Firstly, thanks for great library! 🙂
We are importing react-horizontal-scrolling-menu in our React App. While using v4.0.3 I see below error where as everything seems to work fine with v4.0.1
React version: 18.2.0
Import Code:
import { ScrollMenu } from "react-horizontal-scrolling-menu";
Error:
Can't import the named export 'ScrollMenu' (imported as 'ScrollMenu') from default-exporting module (only default export is available)
The text was updated successfully, but these errors were encountered: