こちらの記事に沿って(https://byuzensen.com/node-js-express-app-heroku)node.jsで作ったアプリをHerokuで公開しようとしているのですが、無事公開できたか確認するために、コマンドプロンプトに
heroku open
と打つと、
Error: Missing reqired flag: -a, --app APP app to run command against See more help with --help
と返ってきます。
Herokuの管理画面上から「Open App」を押しても駄目でした。
因みにその1つ前の工程(ディレクトリのファイルをプッシュする所)で
git push heroku master
と打ち込んだ時に
fatal: 'heroku' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure ou have the correct access rights and the repository exists.
と表示されたのですが、これは関係あるのでしょうか?
スペルミスはチェックしたけれども合っていました。
何が駄目なんでしょうか?
windows10
node.js バージョン10.15.3
あなたの回答
tips
プレビュー