Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application Error #61

Open
Ankrik opened this issue Jul 5, 2021 · 0 comments
Open

Application Error #61

Ankrik opened this issue Jul 5, 2021 · 0 comments

Comments

@Ankrik
Copy link

Ankrik commented Jul 5, 2021

Hello,
I think a deploy error has occurred in your application.

Screenshot (83)

I think there are three errors which possibly might have occurred or maybe anyone of them.

Error-1: Error with Procfile:
->In order to push code to Heroku,we have to create a procfile and without it Heroku might not know how to run this app.
->Often the procfile content is "web:node link-to-the-file-server". Please check the content, there should not be extra space
after colon.
Note:- Extra spaces can cause error while deploying to Heroku.

Error-2: Missing Dependencies:
-> If any developer dependencies are used ,then by default Heroku will not install developer dependencies which might show "package not found " error.
-> To install the developer dependencies there is a way that is to change all developer dependencies to dependencies in
package.json file. Then, you also need to commit the change and deploy it again.

Error-3: Missing Parameters:
->In localhost you can get all your parameters with the .env file but the problem is that you might have not pushed the .env file to the Heroku.
-> To access all the parameters in .env file,the steps are as follows:
Open the Heroku-->Go to the settings option -->Click on reveal config -->Here push all the .env config
Please do check the parameters of PORT app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant