簡體   English   中英

將應用程序推送到實時服務器時 Heroku 致命

[英]Heroku Fatal when pushing app to live server

試圖將我的應用程序推送到heroku

當我運行git push heroku master時,我沒有收到任何錯誤

我從VSCode 中節點終端下的目錄中運行命令

我試圖從bash cml運行它,我得到了最新的一切

這是heroku create時提供給我的兩個heroku鏈接
https://weather-app-taylor.herokuapp.com/https://git.heroku.com/vast-shelf-27543.git

下面是進入git push heroku master后的交易

    Enumerating objects: 70, done.
Counting objects: 100% (70/70), done.
Delta compression using up to 12 threads
Compressing objects: 100% (59/59), done.
Writing objects: 100% (70/70), 991.41 KiB | 1.12 MiB/s, done.
Total 70 (delta 21), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Node.js app detected
remote:        
remote: -----> Creating runtime environment
remote:
remote:        NPM_CONFIG_LOGLEVEL=error
remote:        NODE_ENV=production
remote:        NODE_MODULES_CACHE=true
remote:        NODE_VERBOSE=false
remote:
remote: -----> Installing binaries
remote:        engines.node (package.json):  unspecified     
remote:        engines.npm (package.json):   unspecified (use default)
remote:
remote:        Resolving node version 12.x...
remote:        Downloading and installing node 12.16.1...    
remote:        Using default npm version: 6.13.4
remote:        
remote: -----> Installing dependencies
remote:        Installing node modules (package.json + package-lock)
remote:        added 105 packages from 126 contributors and audited 202 packages in 3.401s
remote:        found 1 low severity vulnerability
remote:          run `npm audit fix` to fix them, or `npm audit` for details
remote:        
remote: -----> Build
remote:
remote: -----> Caching build
remote:        - node_modules
remote:        
remote: -----> Pruning devDependencies
remote:        removed 1 package and audited 201 packages in 
1.095s
remote:        found 1 low severity vulnerability
remote:          run `npm audit fix` to fix them, or `npm audit` for details
remote: -----> Build succeeded!
remote: -----> Discovering process types
remote:        Procfile declares types     -> (none)
remote:        Default types for buildpack -> web
remote:
remote: -----> Compressing...
remote:        Done: 25.5M
remote: -----> Launching...
remote:        Released v3
remote:        https://vast-shelf-27543.herokuapp.com/ deployed to Heroku
remote:
remote: Verifying deploy... done.
To https://git.heroku.com/vast-shelf-27543.git
 * [new branch]      master -> master

這里是港口
在此處輸入圖片說明
這是Heroku運行應用程序的腳本。
在此處輸入圖片說明

我還嘗試使用git push heroku master重新推送到 heroku,這給了我一個致命的

    PS C:\Users\Samson\Documents\JS\node1\wbs2> git push heroku master
remote: !       No such app as vast-shelf-27543.
fatal: repository 'https://git.heroku.com/vast-shelf-27543.git/' not found

修復。 由於我最初嘗試時已經將應用程序推送到 Heroku,因此我只是添加了

heroku git:remote -a appName

然后回去git push heroku master

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM