viclafouch / mui-file-input

A file input designed for the React library MUI
https://viclafouch.github.io/mui-file-input/
MIT License
77 stars 17 forks source link

Cannot use import statement outside a module #40

Closed MoFerhat closed 10 months ago

MoFerhat commented 11 months ago

Hi,

An error occurs in the development environment :

bug

This error occurs after reloading the page. This error does not occur in version 3.0.0 and I haven't checked if the error occurs in version 3.0.1

"mui-file-input": "^3.0.2", "next": "^13.4.19", "react": "18.2.0",

EDIT : after reinstalling the "mui-file-input": "3.0.0" package, I get the same error

baran-ozer commented 11 months ago

Screenshot 2023-09-22 at 13 37 32 same here

cwgavin commented 10 months ago

I found the solution here: https://github.com/viclafouch/mui-file-input/releases/tag/v3.0.0