How to deploy Firebase Hosting?
See original GitHub issuei have these firebase.json
{
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"functions": {
"source": ".output/server",
"runtime": "nodejs16"
},
"hosting": {
"public": ".output/public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}
λ firebase deploy
=== Deploying to 'project-79XXX'...
i deploying firestore, functions, hosting
i firestore: reading indexes from firestore.indexes.json...
i cloud.firestore: checking firestore.rules for compilation errors...
+ cloud.firestore: rules file firestore.rules compiled successfully
Error: There was an error reading .output\server\package.json:
.output\server\index.js does not exist, can't deploy Cloud Functions
Any example would be better.
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Get started with Firebase Hosting - Google
Step 1: Install the Firebase CLI · Step 2: Initialize your project · Step 3: Deploy to your site.
Read more >Deploy your app to firebase — in seconds! - Medium
In this quick post, we will see how to use the hosting service of Firebase and how to deploy your Web application really...
Read more >Deploying to Firebase Hosting
Deploying to Firebase Hosting ... Read through our hosting quickstart to get your site up and running in minutes. Firebase Hosting is a...
Read more >Firebase - Deploying - Tutorialspoint
Firebase - Deploying · Step 1 - Install Firebase Tools · Step 2 - Initialize the Firebase App · Step 3 - Deploy...
Read more >How to deploy your web application on Firebase Hosting
Create a new Firebase project · Register your app with Firebase · Add the Firebase SDK · Install Firebase CLI · Deploy the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There are lots of other deployment targets other than firebase. See https://nitro.unjs.io/guide/presets.html.
Yes, firebase requires that these are installed, with exception of
firebase-functions-test
.