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
Hi, when I added this module to my React Native project, eslint reports the following error.
Error [ERR_REQUIRE_ESM]: require() of ES Module ${PROJECT_DIR}/node_modules/eslint-plugin-unused-i18next-locale-keys/node_modules/globby/index. js from ${PROJECT_DIR}/node_modules/eslint-plugin-unused-i18next-locale-keys/rules/no-unused-i18next-locale-keys.js not supported.
Instead change the require of index.js in ${PROJECT_DIR}/node_modules/eslint-plugin-unused-i18next-locale-keys/rules/no-unused-i18next-locale-keys.js to a dynamic import() which is available in all CommonJS modules.
Can you please advise me what to do?
Thanks :)
The text was updated successfully, but these errors were encountered:
Hi, when I added this module to my React Native project, eslint reports the following error.
Can you please advise me what to do?
Thanks :)
The text was updated successfully, but these errors were encountered: