hozana / next-translate-routes

Flexible and translated routes for Next.js without custom server
MIT License
115 stars 31 forks source link

Error: [next-translate-routes] - No pages folder found. #95

Open Jacky16 opened 3 months ago

Jacky16 commented 3 months ago

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)