i18n-example icon indicating copy to clipboard operation
i18n-example copied to clipboard

Compile fails when copying the code into my own app.

Open bauerbach opened this issue 3 years ago • 0 comments

When I run my app after copying down the index.js code into my own index..js file, the app fails to compile, and shows the following error message:

./src/index.js Attempted import error: 'addLocaleData' is not exported from 'react-intl'.

Why is that?

bauerbach avatar Apr 23 '21 18:04 bauerbach