前提・実現したいこと
https://www.m3tech.blog/entry/2017/10/05/103507
のサイトをものにrailsでアプリを作っていなのですがherokuでデプロイするときに
はまってしまいました。
発生している問題・エラーメッセージ
We're sorry, but something went wrong.
pushしたとき
Enumerating objects: 6, done. Counting objects: 100% (6/6), done. Delta compression using up to 4 threads Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 535 bytes | 107.00 KiB/s, done. Total 4 (delta 1), 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 10.x... remote: Downloading and installing node 10.16.3... remote: Using default npm version: 6.9.0 remote: remote: -----> Restoring cache remote: - node_modules (not cached - skipping) remote: remote: -----> Installing dependencies remote: Installing node modules (package.json) remote: up to date in 0.308s remote: found 0 vulnerabilities remote: remote: remote: -----> Build remote: remote: -----> Pruning devDependencies remote: up to date in 0.266s remote: found 0 vulnerabilities remote: remote: remote: -----> Caching build remote: - node_modules (nothing to cache) remote: remote: -----> Build succeeded! remote: ! This app may not specify any way to start a node process remote: https://devcenter.heroku.com/articles/nodejs-support#default-web-process-type remote: remote: -----> Ruby app detected remote: -----> Compiling Ruby/Rails remote: -----> Using Ruby version: ruby-2.5.5 remote: remote: ###### WARNING: remote: (省略) remote: remote: ###### WARNING: remote: remote: No Procfile detected, using the default web server. remote: We recommend explicitly declaring how to boot your server process via a Procfile. remote: https://devcenter.heroku.com/articles/ruby-default-web-server remote: remote: remote: -----> Discovering process types remote: Procfile declares types -> (none) remote: Default types for buildpack -> console, rake, web remote: remote: -----> Compressing... remote: Done: 84.3M remote: -----> Launching... remote: Released v10 remote: https://enigmatic-cliffs-83347.herokuapp.com/ deployed to Heroku remote: remote: Verifying deploy... done. To https://git.heroku.com/enigmatic-cliffs-83347.git 77ffb9c..75d27fd master -> master ```###log Started GET "/" for ::1 at 2019-09-12 18:20:23 +0900 [1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m ↳ C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98 Processing by ProductsController#index as HTML [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ?[0m [["id", 2], ["LIMIT", 1]] ↳ C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98 Rendering products/index.html.erb within layouts/application [1m[36mProduct Load (1.2ms)[0m [1m[34mSELECT "products".* FROM "products"[0m ↳ app/views/products/index.html.erb:17 Rendered products/index.html.erb within layouts/application (62.0ms) Completed 200 OK in 5179ms (Views: 4947.3ms | ActiveRecord: 32.3ms) ### 試したこと heroku run rake db:migrateStartedなどもした。 https://qiita.com/kazukimatsumoto/items/a0daa7281a3948701c39のさいとをもとに1からやり直した ### 補足情報(FW/ツールのバージョンなど) 初心者なので優しく答えていただけるとありがたいです。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/09/16 09:25
退会済みユーザー
2019/09/16 09:27