[英]I am having node.js app deploy problem in my heroku
Unable to deploy my heroku app in master branch .无法在 master 分支中部署我的 heroku 应用程序。 I tried to deploy in feature branch also but it is not working.
我也尝试在功能分支中部署,但它不起作用。 Deploying my heroku apps in nodejs is causing me lots of error.
在 nodejs 中部署我的 heroku 应用程序给我带来了很多错误。 In my heroku this message is showing me build failed:
在我的heroku 中,这条消息显示我构建失败:
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/still-inlet-25878.git
-----> App not compatible with buildpack: https://github.com/bundler/heroku-buildpack-bundler2
More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
! Push failed
Another showing examples:另一个显示示例:
git push heroku master
Total 0 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> App not compatible with buildpack: https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku/nodejs.tgz
remote:
remote: ! ERROR: Application not supported by 'heroku/nodejs' buildpack
remote: !
remote: ! The 'heroku/nodejs' buildpack is set on this application, but was
remote: ! unable to detect a Node.js codebase.
remote: !
remote: ! A Node.js app on Heroku requires a 'package.json' at the root of
remote: ! the directory structure.
remote: !
remote: ! If you are trying to deploy a Node.js application, ensure that this
remote: ! file is present at the top level directory. This directory has the
remote: ! following files:
remote: !
remote: ! README.md
remote: ! weather/
remote: ! web-server/
remote: !
remote: ! If you are trying to deploy an application written in another
remote: ! language, you need to change the list of buildpacks set on your
remote: ! Heroku app using the 'heroku buildpacks' command.
remote: !
remote: ! For more information, refer to the following documentation:
remote: ! https://devcenter.heroku.com/articles/buildpacks
remote: ! https://devcenter.heroku.com/articles/nodejs-support#activation
remote:
remote:
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to still-inlet-25878.
remote:
To https://git.heroku.com/still-inlet-25878.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/still-inlet-25878.git'
Follow these it will help you in solving all issues when deploying on heroku.遵循这些将帮助您解决在 heroku 上部署时的所有问题。 In this article you will find all the details Deploy nodejs app on heroku
在本文中,您将找到所有详细信息在 heroku 上部署 nodejs 应用程序
and this video is an example of deploying nodejs app on heroku 此视频是在 heroku 上部署 nodejs 应用程序的示例
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.