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
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.
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.