-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with firebase-hosting example #8897
Comments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I started from this example. Changed nothing more than what is explained in there to get up and running.
npm run dev works perfectly.
npm run serve (firebase local) throws me the following:
Error: > Couldn't find a
pages
directory. Please create one under the project rootat Object.findPagesDir (/Users/julianbenegas/Documents/Work/mayeutica-platform-2.nosync/dist/functions/node_modules/next/dist/lib/find-pages-dir.js:3:170)
at new Server (/Users/julianbenegas/Documents/Work/mayeutica-platform-2.nosync/dist/functions/node_modules/next/dist/next-server/server/next-server.js:40:42)
at createServer (/Users/julianbenegas/Documents/Work/mayeutica-platform-2.nosync/dist/functions/node_modules/next/dist/server/next.js:2:133)
at Object. (/Users/julianbenegas/Documents/Work/mayeutica-platform-2.nosync/dist/functions/index.js:10:11)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
⚠ Your function was killed because it raised an unhandled error.
Cheers!
@jthegedus
The text was updated successfully, but these errors were encountered: