首页 > 解决方案 > 无法将我的宠物 Nodejs 应用程序部署到 Heroku:远程:致命:找不到流星应用程序

问题描述

我正在尝试使用他们的说明将 nodejs 应用程序部署到 Heroku。一切都很棒,但是当使用命令“git push heroku master”完成这个过程时,我遇到了问题:

$ git push heroku master
Counting objects: 215, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (145/145), done.
Writing objects: 100% (215/215), 5.67 MiB | 489.00 KiB/s, done.
Total 215 (delta 95), reused 129 (delta 59)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Node.js app detected
**remote: FATAL: Can't find meteor app. Set METEOR_APP_DIR to the relative location of the meteor app within your repository if it's not in the root or 'app/' subdirectory.  (Tried /tmp/build_a40a06f857ebd0b9240550674cacfe69)
remote:  !     Push rejected, failed to compile Node.js app.**
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to memos-hse.
remote:
To https://git.heroku.com/memos-hse.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/memos-hse.git'

我不使用任何“流星应用程序”。我尝试使用 METEOR_APP_DIR 进行操作,但没有结果。

你有任何想法如何处理它吗?

项目:https ://github.com/Saribeg/Memos

标签: node.jsherokumeteordeployment

解决方案


推荐阅读