Flutter firebase hosting7/29/2023 ![]() By running command (npm run build) just before (firebase deploy command).The reason of this issue could be (according to my assumptions): I don't know the exact reason of the issue (Page was blank and was giving 404 Error) but somehow, I solved it. To create a production bundle, use `npm run build` or `yarn build`. To begin the development, run `npm start` or `yarn start`. You need to enable JavaScript to run this app. I am not having experience with angular i can tell you about react okay and basically this issue is for the react section so you can open new issue for the angular thing and then definitely someone will help you!. > Reply to this email directly, view it on GitHub >, > or unsubscribe >. On Fri, at 1:07 PM Raj Nada > wrote: Actually,I am looking for angular On Fri, at 12:14 PM krishna kakade wrote: > your getting that problem for > react app this is the video tutorial link that will help you with that How > to deploy react app to the firebase click here to watch the tutorial > - > You are receiving this because you were mentioned. I also tried this video tutorial from firebase if you free then contact me 7990978122 on this number So basically what I am saying here is that this solution helped me, and maybe it also helps someone else. ![]() After I specified the above level folder it worked. When I specified only build it didn't work. It is a react-app, it generates a build folder with npm run build, I specify that build folder as my directory for deployment/hosting. Nope public folder thing only work for plain HTML sites but for react app you need to build that app using npm run build and then select/type build there and your good to go otherwise i can show you by anydesk also but i think my above reply help to everyone □ Hope this helps to other people having the same issue. Just go one level above, target the folder that contains the build folder. So instead of doing firebase init from the my-app folder and targeting build. What do you want to use as your public directory? my-app/build I also encountered the same problem, broke my head with it for almost a day but actually it was a pretty simple fix.įor example: When prompted to select the build directory, I just specified the outer folder containing the build and other code. ![]() □ 134 ASMohamedFaheemAnver, thanhlevu, oOJGH, mohsenmadi, Shaaamila, AmandavZ, deepakrout, dayanrr91, svaani, bayuaslamaa, and 124 more reacted with thumbs up emoji □ 34 arsenentievaa, GelbardSteve, mikeover, emailsubjekt, rahul-sonwanshi, thomashibbard, fnanni-0, JoBaHP, ishijo, koidioble, and 24 more reacted with thumbs down emoji □ 16 dzenis-h, gunjan768, DucTriTran, Ahmedsk143, marwalbaadani, suryanshpratap279, vinatron75, YourAKShaw, ValeryP, loonix, and 6 more reacted with laugh emoji □ 21 gunjan768, Abdelmjid-ASOUAB, DucTriTran, Ahmedsk143, AsnanAshfaq, pandya293, marwalbaadani, hapnaveen, PyFinn, Kunwar-Aditya-Codes, and 11 more reacted with hooray emoji □ 7 mostafasaadamin, hmahmadnaeem, ValeryP, Objectivitix, GIRISHANKARVP, S55BYX, and CoderMuki reacted with confused emoji ❤️ 23 Turskyi, thanhdinhit, jyo-dev, cristina-rosca, marwalbaadani, PAPPY-JOE, ppatna, uchiha-suraj, cassiemorford, alscaldeira, and 13 more reacted with heart emoji □ 15 DucTriTran, Ahmedsk143, marwalbaadani, uchiha-suraj, YourAKShaw, mostafasaadamin, MustafaAbuGhannam, ValeryP, G-L-T, loonix, and 5 more reacted with rocket emoji □ 10 mostafasaadamin, Zain3333, ValeryP, parthpatel303, polyXein, Emranul-Farhad, IPrinceChoudhary, Asad-ZH, Mogamat-Muneeb, and eugeneilin reacted with eyes emoji
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |