You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
SvelteKit should be deployed to Node.js 14 Cloud Functions. The template initialised by firebase init functions defaults to Node.js 12 so errors around this are likely to crop up. #47 is an example of not targetting v14.
The only reason I know of the firebase.json.functions.runtime field is from reading firebase-tools release notes religiously, not because it was easily found in the Firebase documentation.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
SvelteKit should be deployed to Node.js 14 Cloud Functions. The template initialised by
firebase init functions
defaults to Node.js 12 so errors around this are likely to crop up. #47 is an example of not targetting v14.Describe the solution you'd like
Error if Node.js 14 is not detected in either:
functions/package.json
engines.node
fieldfirebase.json
functions.runtime
field - add in Enable functions runtime engine config through firebase.json firebase/firebase-tools#2241 and released in https://github.com/firebase/firebase-tools/releases/tag/v8.6.0Describe alternatives you've considered
Additional context
The only reason I know of the
firebase.json.functions.runtime
field is from readingfirebase-tools
release notes religiously, not because it was easily found in the Firebase documentation.The text was updated successfully, but these errors were encountered: