You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an application that uses React 16.14.0 and React Scripts 4.0.3. When trying to utilize react-international-phone and running yarn start it throws the following errors:
./node_modules/react-international-phone/dist/index.mjs
Can't import the named export 'forwardRef' from non EcmaScript module (only default export is available)
Bug
I have an application that uses React 16.14.0 and React Scripts 4.0.3. When trying to utilize react-international-phone and running yarn start it throws the following errors:
react-international-phone/package.json module mjs file causes error
import 'react-international-phone/style.css' causes error
Steps to reproduce the behavior:
Expected behavior
Should be able to utilize react-international-phone input and create react app should bundle and build correctly
Desktop (please complete the following information):
Current work around
I have to change the following in node_modules/react-international-phone/package.json to
I have to change import 'react-international-phone/style.css' to
The text was updated successfully, but these errors were encountered: