SharezoneApp / sharezone-app

Sharezone is a collaborative school organization app for iOS, Android, macOS and web with +500,000 downloads. Built with Flutter & Firebase.
https://sharezone.net
European Union Public License 1.2
273 stars 48 forks source link

`Error: > Couldn't find any `pages` or `app` directory. Please create one under the project root`: docs website cloud function #1614

Open nilsreichardt opened 4 months ago

nilsreichardt commented 4 months ago

Logs from GCP for the SSR cloud function:

Error: > Couldn't find any `pages` or `app` directory. Please create one under the project root
    at findPagesDir (/workspace/node_modules/next/dist/lib/find-pages-dir.js:42:15)
    at findPagesDirectory (/workspace/node_modules/nextra/dist/index.js:169:15)
    at Object.<anonymous> (/workspace/node_modules/nextra/dist/index.js:173:53)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at mod.require (/workspace/node_modules/next/dist/server/require-hook.js:65:28)
    at require (node:internal/modules/helpers:177:18)