DevExpress/testcafe-hammerhead

Heroku hosting results in an error

NotQuiteZook opened this issue · 8 comments

What is your Scenario?

I forked the code for this project and attempted to host this on heroku.

What is the Current behavior?

After hosting it and Heroku declaring it as "published," I went to the site and saw the heroku error screen.

What is the Expected behavior?

From what I saw in heroku dashboard, everything should of gone smoothly.

What is your public website URL? (or attach your complete example)

https://java-lessons.herokuapp.com/

What is your TestCafe test code?

The default from the github

Your complete configuration file

No response

Your complete test report

No response

Screenshots

image

image

image

image

Steps to Reproduce

  1. Fork the github to a presonal repo
  2. Host it on heroku
  3. Go to the site

TestCafe version

Using Heroku, cannot do this

Node.js version

No response

Command-line arguments

Using Heroku, cannot do this

Browser name(s) and version(s)

No response

Platform(s) and version(s)

No response

Other

No response

make a start script in package.json

But what file should i designate as the start file? index.js? or some other file?

I wrote the command
image
but it still results in an error in heroku

Hi @NotQuiteZook

I am not familiar with Heroku. Could you please write step-by-step instructions on how to reproduce the issue?

@miherlosev

  1. Fork the Repo to your personal account
  2. Log on to heroku
  3. Click the "New button and then the "Create new app" button.
  4. Name the app
  5. Create the app
  6. Go to the "Deploy" section
  7. Search the repo, in this case it would be miherlosev/testcafe-hammerhead
  8. Click deploy main
  9. Then visit the site
    The issue should be apparent.

Fork the Repo to your personal account

Could you please share a link to the repo that I need to fork?

Hi @NotQuiteZook

I've repeated the steps to reproduce and got the same result - the 'Application error' on deploying the miherlosev/testcafe-hammerhead repository.

However, it's not a bug. The testcafe-hammerhead repository is not a repository with Heroku app sources. So, correct running is not guaranteed after a deploy.

Try to find the cause of the issue or ask StackOverflow about it.