Open BenJackGill opened 1 month ago
Ok I just realised we also need to run npm run build
to build the outputs (including ./outputs/server
) before can run locally with the emulators. Maybe the docs need updating because under the "Trying this out locally" heading that was not clear.
1) Download blaze plan template 2)
npm i
to install 3) In seperate Terminal sessions runnpm run emulators
andnpm run dev
4) Check emulator function logsYou will see this:
The problem is that
.output/server
does not exist.I took a guess that the path might be
.nuxt/dev/server
so I changed firebase.json to this and restarted emulators and dev server:But that produced this error