Skip to content

Unable to deploy on Heroku when cloned on local machine #31

Open
@nipundavid

Description

@nipundavid

Hi Team,

I tried deploying the colyseus-examples after cloning from git on Heroku via VSCode. But I was not able to get the app running.

here are the build logs.


-----> Building on the Heroku-20 stack
-----> Determining which buildpack to use for this app
-----> Node.js app detected
       
-----> Creating runtime environment
       
       NPM_CONFIG_LOGLEVEL=error
       NODE_VERBOSE=false
       NODE_ENV=production
       NODE_MODULES_CACHE=true
       
-----> Installing binaries
       engines.node (package.json):  >=8.9.1
       engines.npm (package.json):   unspecified (use default)
       
       Resolving node version >=8.9.1...
       Downloading and installing node 17.0.1...
       Using default npm version: 8.1.0
       
-----> Installing dependencies
       Installing node modules (package.json)
       
       added 239 packages, and audited 240 packages in 28s
       
       9 packages are looking for funding
         run `npm fund` for details
       
       3 low severity vulnerabilities
       
       To address all issues (including breaking changes), run:
         npm audit fix --force
       
       Run `npm audit` for details.
       
-----> Build
       Running build
       
       > [email protected] build
       > npm run clean && tsc && node node_modules/copyfiles/copyfiles package.json ./lib && node node_modules/copyfiles/copyfiles arena.env ./lib && node node_modules/copyfiles/copyfiles -u 1 src/static/* ./lib
       
       
       > [email protected] clean
       > node node_modules/rimraf/bin lib
       
       
-----> Caching build
       - node_modules
       
-----> Pruning devDependencies
       
       up to date, audited 153 packages in 2s
       
       3 packages are looking for funding
         run `npm fund` for details
       
       3 low severity vulnerabilities
       
       To address all issues (including breaking changes), run:
         npm audit fix --force
       
       Run `npm audit` for details.
       
-----> Build succeeded!
-----> Discovering process types
       Procfile declares types     -> (none)
       Default types for buildpack -> web
-----> Compressing...
       Done: 44.6M
-----> Launching...
       Released v3
       https://colyseus-test-freak-v2.herokuapp.com/ deployed to Heroku

console Logs


2021-10-23T10:24:10.118064+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=colyseus-test-freak-v2.herokuapp.com request_id=7124e3e7-8681-4b14-ab34-1b29164926bb fwd="160.202.38.236" dyno= connect= service= status=503 bytes= protocol=https
2021-10-23T10:24:54.218955+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=colyseus-test-freak-v2.herokuapp.com request_id=78deb601-5793-4f07-b4a0-01627153b69f fwd="160.202.38.236" dyno= connect= service= status=503 bytes= protocol=https
2021-10-23T10:24:54.762011+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=colyseus-test-freak-v2.herokuapp.com request_id=8e631cba-3d31-411b-972a-c8afd6b98582 fwd="160.202.38.236" dyno= connect= service= status=503 bytes= protocol=https
2021-10-23T10:24:57.768158+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=colyseus-test-freak-v2.herokuapp.com request_id=7ce4b2ec-4a2c-40f5-83bb-5991d7fef99f fwd="160.202.38.236" dyno= connect= service= status=503 bytes= protocol=https
2021-10-23T10:24:58.369000+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=colyseus-test-freak-v2.herokuapp.com request_id=d964f86c-b428-4dce-bc28-79f6c8e571a0 fwd="160.202.38.236" dyno= connect= service= status=503 bytes= protocol=https
2021-10-23T10:25:00.615401+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=colyseus-test-freak-v2.herokuapp.com request_id=f9c1e3e9-921a-4d7b-a14c-dccce5de931a fwd="160.202.38.236" dyno= connect= service= status=503 bytes= protocol=https
2021-10-23T10:25:01.590205+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=colyseus-test-freak-v2.herokuapp.com request_id=471f6db3-fd09-43b4-9a2c-040e9241d171 fwd="160.202.38.236" dyno= connect= service= status=503 bytes= protocol=https
2021-10-23T10:28:19.965715+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=colyseus-test-freak-v2.herokuapp.com request_id=67445f44-bff7-4c8c-a088-83234beba696 fwd="15.206.235.52" dyno= connect= service= status=503 bytes= protocol=http
2021-10-23T10:29:57.366075+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=colyseus-test-freak-v2.herokuapp.com request_id=3785ad24-eb3e-4f84-9120-dbc9f9ad6bcf fwd="160.202.38.236" dyno= connect= service= status=503 bytes= protocol=https
2021-10-23T10:29:57.877083+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=colyseus-test-freak-v2.herokuapp.com request_id=94496430-1bc2-4a39-b70a-52c26e4d651f fwd="160.202.38.236" dyno= connect= service= status=503 bytes= protocol=https

whereas when I used the deploy on heroku button from the website it was successfully deployed - MyApp

can you please share if I missed anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions