I want to deploy website on firebase. When I deploy on firebase, It shows following error and I can't deploy it on firebase.
How can I fix this issue?
Not in a Firebase app directory (could not locate firebase.json)
Related
my cli interface approval of my website deployment
when i run my website i get this
i deployed to the firebase server and expected the server to run my coded website but does not deploy
I have run the website but all i get is i should another from firebase hosting
Firebase Hosting Setup Complete
You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary! this is the message i get on my website instead of my html css and javascript code
How to solve Firebase Hosting Setup Complete ?
While deploy this
Welcome
Firebase Hosting Setup Complete
You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!
OPEN HOSTING DOCUMENTATION
I am trying to deploy a NextJs application to Vercel.
I followed steps in this tutorial: https://vercel.com/guides/nextjs-prisma-postgres and the deploy with that app works but with my new app doesn't.
On localhost my application runs just fine but when I'm trying to deploy on Vercel the deploy fails with message Deployment failed with error.
I'm trying to get the logs, to see why the deploy failed but I can't click on the Building part of the screen where I could see the build logs.
Picture of Vercel after Deploy failed:
My question is how could I see the logs if the Vercel deploy fails at first try?
I had the same problem. I couldn't deploy my app in Vercel and none error showed on the console. So, I run the npm run build locally and there it showed me some typescript errors that don't appear in any other place. After I solved those errors I could deploy my app in Vercel without problems.
I looked into it further, and to get some error information I used the vercel cli (https://vercel.com/docs/concepts/deployments/overview) instead of gui.
Hope this helps you to.
I have a problem with a web hosting project. I created a new proyect in google firebase, and I executed the following commands:
C:\myproject>firebase init functions
C:\myproject>firebase deploy --only functions
But the site says this:
Site Not Found
Why am I seeing this?
There are a few potential reasons:
You haven't deployed an app yet.
You may have deployed an empty directory.
This is a custom domain, but we haven't finished setting it up yet.
How can I deploy my first app?
Refer to our hosting documentation to get started.
What could I do for show, at least, some text when an user go to my project url?
The way you now invoke the Firebase CLI, it will only deploy the Cloud Functions in your project. It will not deploy the web site. In fact, the way you've run it, it probably didn't even create a web site to deploy.
Initialize the project with:
firebase init
And answer the questions this shows.
If you want to deploy the web site, use:
firebase deploy --only hosting
More likely you should simply deploy everything to prevent running into this problem:
firebase deploy
I want to try the demo for polymerfire in firebase. To get it run locally I followed these steps. But what exact steps do I need to do to get it to run in firebase?
I figured firebase init and firebase deploy should be run but the browser only displays errors in the console. Must the polymer project be build in a certain way and what should the firebase "public" folder be?
All files from public folder will be deployed to your Firebase static web hosting, so you can access them though your Firebase hosting address like https://projectname-5gek53.firebaseapp.com/. This allows you to upload your web app.
You build your polymer app (I guess you need to run polymer build). You drag all files generated as production build to your public folder. Next, you run firebase deploy and after deployment process your app will be accessible from your hosting address as I mentioned above.
Edit: Polymerfire demo is actually not that simple to export, but I found a really nice tutorial step-by-step from Google Codelabs here is a link Build a Progressive Web App with Firebase, Polymerfire and Polymer Components
I just installed a new version of the polymer cli and Firebase cli. When I do a Polymer build, no build/bundled or build/unbundled is created.
I do get a build/default, which I can run with a firebase serve and a firebase deploy. So something has changed recently. just fyi