node.js - 无法将我的宠物 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 进行操作,但没有结果。
你有任何想法如何处理它吗?
解决方案
推荐阅读
- python - 复杂的熊猫融化
- c++ - Turtle Mock:如何忽略意外来电?
- python - 重新创建一个情节,而不是以同样的方式出现
- reactjs - 如何使用地理定位追踪路线?
- javascript - 如何防止 Firebase Cloud Function 崩溃以及如何发送错误消息作为响应?
- mongodb - 为什么mongodb在使用gt和lt查询时包含范围之外的值?
- webpack - 用于内联 javascript 函数的 Webpack
- c++ - Eigen Half.h 编译错误:“struct Eigen::half”没有名为“x”的成员
- r - 如何将 geom_boxplot 的五个数字提取到一个表中?
- php - 错误消息:尝试访问 bool 类型值的数组偏移量