akameco / babel-plugin-react-intl-auto

i18n for the component age. Auto management react-intl ID.
MIT License
211 stars 34 forks source link

Fix dependencies #200

Open lensbart opened 3 years ago

lensbart commented 3 years ago

Hi,

Yarn Plug ‘n’ Play comes with a new dependencies paradigm and is a bit more strict about what is allowed. The error I got is pretty self-explanatory:

Error: babel-plugin-react-intl tried to access @babel/types, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Could you kindly update the dependencies accordingly?

Thanks, and have a nice weekend

lensbart commented 3 years ago

Oops – should have posted this in another repository. However, the babel-plugin-react-intl repository is archived, and the package was renamed to babel-plugin-formatjs. Perhaps you could upgrade this dependency? That would fix the issue too.