Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] Module not found: Error: Package path ./admin/src/selectors/selectI18nLocales is not exported from package /opt/node_modules/@strapi/plugin-i18n #27

Open
aivarsyo opened this issue Jun 10, 2024 · 1 comment

Comments

@aivarsyo
Copy link

"dependencies": {
    "@ckeditor/strapi-plugin-ckeditor": "^0.0.11",
    "@strapi/plugin-cloud": "4.24.1",
    "@strapi/plugin-i18n": "4.24.1",
    "@strapi/plugin-users-permissions": "4.24.1",
    "@strapi/strapi": "4.24.1",
    "better-sqlite3": "8.6.0",
    "mysql": "^2.18.1",
    "react": "^18.0.0",
    "react-dom": "^18.0.0",
    "react-router-dom": "5.3.4",
    "styled-components": "5.3.3"
  }

node version 18.20.3
npm version 10.7.0

Just installed [email protected], tried to build the project, but while building the admin panel, it throws this error - [ERROR] Module not found: Error: Package path ./admin/src/selectors/selectI18nLocales is not exported from package /opt/node_modules/@strapi/plugin-i18n (see exports field in /opt/node_modules/@strapi/plugin-i18n/package.json) . I deleted the node modules folder and did an npm install, but that didn't solve the problem. Deleting the plugin builds the project without any issues.

@alexv-m21
Copy link

got the same error using node 18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants