2017-01-19 25 views
0

私はHerokuを使用していますが、マスターにプッシュするたびにコードを更新しないようです。Herokuは更新されません

$ git add . 
$ git commit -am "make it better" 
$ git push heroku master 

しかし、私はこの何も起こりません行った後....私はマスターにプッシュした後、出力:

Counting objects: 6, done. 
Delta compression using up to 4 threads. 
Compressing objects: 100% (6/6), done. 
Writing objects: 100% (6/6), 494 bytes | 0 bytes/s, done. 
Total 6 (delta 5), 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:  NPM_CONFIG_PRODUCTION=true 
remote:  NODE_ENV=production 
remote:  NODE_MODULES_CACHE=true 
remote: 
remote: -----> Installing binaries 
remote:  engines.node (package.json): unspecified 
remote:  engines.npm (package.json): unspecified (use default) 
remote:   
remote:  Resolving node version (latest stable) via semver.io... 
remote:  Downloading and installing node 6.9.1... 
remote:  Using default npm version: 3.10.8 
remote: 
remote: -----> Restoring cache 
remote:  Loading 2 from cacheDirectories (default): 
remote:  - node_modules 
remote:  - bower_components (not cached - skipping) 
remote: 
remote: -----> Building dependencies 
remote:  Installing node modules (package.json) 
remote:   
remote:  > [email protected] postinstall /tmp/build_dcfbba691d5c6f4b81e12dbe7f938c55 
remote:  > npm run build:prod 
remote:   
remote:   
remote:  > [email protected] build:prod /tmp/build_dcfbba691d5c6f4b81e12dbe7f938c55 
remote:  > node bin/bundler.js --prod 
remote:   
remote:  Unhandled rejection Error on fetch for app/main.js at file:///tmp/build_dcfbba691d5c6f4b81e12dbe7f938c55/app/main.js 
remote:  Error: ENOENT: no such file or directory, open '/tmp/build_dcfbba691d5c6f4b81e12dbe7f938c55/app/main.js' 
remote:  at Error (native) 
remote: 
remote: -----> Caching build 
remote:  Clearing previous node cache 
remote:  Saving 2 cacheDirectories (default): 
remote:  - node_modules 
remote:  - bower_components (nothing to cache) 
remote: 
remote: -----> Build succeeded! 
remote:  ├── @angular/[email protected] 
remote:  ├── @angular/[email protected] 
remote:  ├── @angular/[email protected] 
remote:  ├── @angular/[email protected] 
remote:  ├── @angular/[email protected] 
remote:  ├── @angular/[email protected] 
remote:  ├── @angular/[email protected] 
remote:  ├── @angular/[email protected] 
remote:  ├── @angular/[email protected] 
remote:  ├── @types/[email protected] 
remote:  ├── @types/[email protected] 
remote:  ├── [email protected] 
remote:  ├── [email protected] 
remote:  ├── [email protected] 
remote:  ├── [email protected] 
remote:  ├── [email protected] 
remote:  ├── [email protected] 
remote:  ├── [email protected] 
remote:  ├── [email protected] 
remote:  ├── [email protected] 
remote:  ├── UNMET PEER DEPENDENCY [email protected] 
remote:  ├── [email protected] 
remote:  ├── [email protected] 
remote:  ├── [email protected] 
remote:  └── UNMET PEER DEPENDENCY [email protected] 
remote:   
remote: !  Unmet dependencies don't fail npm install but may cause runtime issues 
remote:  https://github.com/npm/npm/issues/7494 
remote: 
remote: -----> Discovering process types 
remote:  Procfile declares types -> web 
remote: 
remote: -----> Compressing... 
remote:  Done: 35.5M 
remote: -----> Launching... 
remote:  Released v5 
remote:  https://something.herokuapp.com/ deployed to Heroku 
remote: 
remote: Verifying deploy... done. 
To https://git.heroku.com/something.git 
    fd25f32..505de47 master -> master 

は奇妙なことは、何らかの形で私はそれを展開するために管理していることですがありません私は本当にそれをやったか知っています。また、私が最後のものを配備したときを見ていると、もう少し前です。 ありがとうございます!

+0

プッシュした後に出力がありませんか? –

+0

私のポストは少し詳しい情報を編集しました! – John

+0

これらの未依存の依存関係は必要ですか? –

答えて

0

はあなたの編集したファイルは、あなたがダイノ(Herokuの期間中、インスタンス)のHerokuのの無料版を使用している場合は、それが非アクティブの30分後にスリープし、最後のコミット(git status

0

であることを確認します。その場合、Dynoがスリープ状態から復帰するようにインスタンスのURLをヒットする必要があります。

Herokuコマンドが正しく表示され、Herokuが新しいリリースを作成してDynoにプッシュする必要があります。 Heroku CLIで

heroku releases 

を試して、最新の変更がリリースされているかどうかを確認してください。

関連する問題