Unable to publish app created with node.js in Heroku

Asked 2 years ago, Updated 2 years ago, 134 views

Publish an app created with node.js on Heroku!!

I am trying to publish an app created in node.js on Heroku in accordance with the above article, but to make sure that it was successfully published, I will send it to the command prompt
heroku open
I typed

Error: Missing required flag:
   -a, --app APP app to run command again
 See more help with --help

returned the message.
"When I pressed ""Open App"" from the top of the Heroku management screen, it didn't work."

By the way,
in the previous step (where you push the file in the directory) git push heroku master
When typing

 fatal: Could not read from remote repository.
 Please make sure you have the correct access rights
 and the repository exists.

It says , but is this relevant?

I checked the spelling error, but it was correct.
What's wrong?

Windows 10
node.js version 10.15.3

node.js heroku

2022-09-30 19:47

1 Answers

 git push heroku master

↑ This command fails because heroku is not registered in the remote repository of git.
Try typing git remote at the command prompt.
I don't think there is a heroku in the repository name displayed (or maybe nothing).

Did you successfully complete the following commands for the referenced site?

herokugit:clone-a app name

Perhaps you are a beginner in git, heroku, or programming itself.
I think it is difficult to solve each problem here because the communication is too complicated.
br/> I recommend you to follow the procedure again from the beginning.
It is also recommended that you refer to other sites.


2022-09-30 19:47

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.