viclafouch / mui-tel-input

📌 A phone number input designed for MUI (Material ui) V6 built with libphonenumber-js
https://viclafouch.github.io/mui-tel-input
MIT License
158 stars 65 forks source link

Cannot use import statement outside a module #102

Closed alextracy closed 10 months ago

alextracy commented 10 months ago

Nextjs version: 13.5.6 Nodejs version: 20.8.1

Error: import { jsxs as _, jsx as p, Fragment as Fe } from "react/jsx-runtime"; ^^^^^^ SyntaxError: Cannot use import statement outside a module

No error with version 4.0.0 This error only happens with version 4.0.1

viclafouch commented 10 months ago

Duplicated with https://github.com/viclafouch/mui-tel-input/issues/84