Error: [next-translate-routes] - No pages folder found.
Jacky16 opened this issue · 0 comments
When I do the build in local everything is good, but when I try to do a build in google cloud I get this error:
Error: [next-translate-routes] - No pages folder found. at getPagesPath (/app/node_modules/next-translate-routes/plugin/getPagesPath.js:13:15) at withTranslateRoutes (/app/node_modules/next-translate-routes/plugin/withTranslateRoutes.js:118:53) at Object.<anonymous> (/app/next.config.js:6:18) at Module._compile (node:internal/modules/cjs/loader:1358:14) at Module._extensions..js (node:internal/modules/cjs/loader:1416:10) at Module.load (node:internal/modules/cjs/loader:1208:32) at Module._load (node:internal/modules/cjs/loader:1024:12) at cjsLoader (node:internal/modules/esm/translators:348:17) at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:297:7) at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
My package version is: **1.11.0-5**
My NextJS version is 14.2.4 (I am using pages router)