facuesr / react-multiselect-listbox

Multiple selection list box component
https://codesandbox.io/s/multi-select-listbox-example-lgvdf
0 stars 2 forks source link

Not working with NextJs: error - ./node_modules/react-multiselect-listbox/dist/components/Button/styles.module.sc #7

Open klimentina-djeparoska opened 3 years ago

klimentina-djeparoska commented 3 years ago

Hello,

I am using React 17 and Next js 10 for server side rendering. When I start the project it fails with the following message:

error - ./node_modules/react-multiselect-listbox/dist/components/Button/styles.module.scss CSS Modules cannot be imported from within node_modules. Read more: https://nextjs.org/docs/messages/css-modules-npm

bfeist commented 1 year ago

Still an issue