manishkatyan / strapi-google-translator

Translate Strapi collections into multiple languages using Google Cloud Translation
10 stars 8 forks source link

[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 5 months ago

aivarsyo commented 5 months ago
"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 strapi-google-translator@1.0.8, 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 commented 1 month ago

got the same error using node 18