colyseus / colyseus-examples

Examples for learning how Colyseus works
https://examples.colyseus.dev/
MIT License
177 stars 90 forks source link

Continuously unable to deploy my server to heroku #27

Closed Roeefl closed 3 years ago

Roeefl commented 4 years ago

Just a small question for now, please, I just don't get something.

You've defined

"heroku-postbuild": "npm run build"

in your scripts.

And it deploys to Heroku successfully even though a build script is not specified.

When I try to do the same thing (I mean literally the same project with a different name and Room file), Heroku would complain that a build script is missing (which it does - I get it).

How does that happen?

Thank you

endel commented 4 years ago

That's a good question, I think this is a left over from previous versions, can't really explain why my builds are not broken, if you remove the heroku-postbuild step it should work!