Closed matheus-fatguys closed 5 years ago
same issue here.
CodeLab is missing steps between 'firebase init' and 'firebase deploy' - causing students to guess what to do. It would be helpful to include these steps in CodeLab.
I'm a newbie too, but looking at your json file, it looks like you selected 'work' folder as the public folder. Maybe that's why it's hanging.
For me, I selected 'hosting' as a feature for the first question. Then, I use the default option of using 'public' as my public folder. Next, I moved all the app files into the public folder. (Firebase generates a default index.html inside the public folder. Replace it with your own index.html) So my 'work' folder has the public folder and two firebase files. Then when I type in 'firebase deploy' it works.
I follow all of the steps, but I just get this when I try to load the page:
you must replace index.html created by firebase with the one which contains code for the main page of your app ( with the name index.html )
Hi!
Thanks for the feedback. I've rewritten the codelab from scratch and believe I have fixed this issue. The code has been updated, and the new guide is now live.
If you find any issues with the new codelab, please let us know!
Thanks!
yeah I got same issue but I solved it by using command (sudo firebase deploy) on Mac
I tryed to follow the complete tutorial, But it fails in the last step when I try to deploy the code to firebase
I created a project on google console
I ran
npm install -g firebase-tools
firebase login firebase init
Then when I ran firebase deploy it just hangs forever.
.firebaserc: { "projects": { "default": "pwa-tutorial-4b49e" } }
firebase.json { "hosting": { "public": "work", "ignore": [ "firebase.json", "*/.", "/node_modules/" ] } }
that's firebase-debug.log: