Closed nhatsmrt closed 3 years ago
Nvm, I think the deployment should be more complicated than this. Closing this issue.
I am happy to hear that's running smoothly locally, I think it should it be quite easy to run on firebase hosting from that point on, it's just that so far I used a different hosting solution. You probably want to do npm run build
before running the firebase deploy command, and I am not sure if you need prestart/start. Can you double check that the build folder exists and that the firebase deploy command is pointing to it? If you make it work, we can add a section in the docs about it as well.
@eisenjulian I am able to deploy it via Firebase hosting now! Apparently I had to select the build
directory instead of creating a new public
directory. No wonder why they couldn't find the app's build files 😅
I followed the instructions in this section, but wasn't able to deploy the game; the page came out empty. I was able to run the game locally.
Here is what I did: inside
board
:Am I doing anything wrong? E.g run the commands in the wrong directory