herokuへのdeployの際エラーが出ていたので直し、
Your app was successfully deployed.でviewを押すと
We're sorry, but something went wrong.
If you are the application owner check the logs for more information.
の画面になってしまいます。
Logにあるwarningも直さないと表示されないのでしょうか?
解決方法を教えて頂けると幸いです。
Log
1-----> Ruby app detected 2-----> Installing bundler 2.0.2 3-----> Removing BUNDLED WITH version in the Gemfile.lock 4-----> Compiling Ruby/Rails 5-----> Using Ruby version: ruby-2.5.8 6-----> Installing dependencies using bundler 2.0.2 7 Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment 8 The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. 9 Using rake 13.0.1 10 Using concurrent-ruby 1.1.6 11 Using i18n 1.8.3 12 Using minitest 5.14.1 13 Using thread_safe 0.3.6 14 Using tzinfo 1.2.7 15 Using zeitwerk 2.3.1 16 Using activesupport 6.0.3.2 17 Using builder 3.2.4 18 Using erubi 1.9.0 19 Using mini_portile2 2.4.0 20 Using nokogiri 1.10.10 21 Using rails-dom-testing 2.0.3 22 Using crass 1.0.6 23 Using loofah 2.6.0 24 Using rails-html-sanitizer 1.3.0 25 Using actionview 6.0.3.2 26 Using rack 2.2.3 27 Using rack-test 1.1.0 28 Using actionpack 6.0.3.2 29 Using nio4r 2.5.2 30 Using websocket-extensions 0.1.5 31 Using websocket-driver 0.7.3 32 Using actioncable 6.0.3.2 33 Using globalid 0.4.2 34 Using activejob 6.0.3.2 35 Using activemodel 6.0.3.2 36 Using activerecord 6.0.3.2 37 Using mimemagic 0.3.5 38 Using marcel 0.3.3 39 Using activestorage 6.0.3.2 40 Using mini_mime 1.0.2 41 Using mail 2.7.1 42 Using actionmailbox 6.0.3.2 43 Using actionmailer 6.0.3.2 44 Using actiontext 6.0.3.2 45 Using msgpack 1.3.3 46 Using bootsnap 1.4.6 47 Using bundler 2.0.2 48 Using ffi 1.13.1 49 Using mini_magick 4.10.1 50 Using ruby-vips 2.0.17 51 Using image_processing 1.11.0 52 Using jbuilder 2.10.0 53 Using kaminari-core 1.2.1 54 Using kaminari-actionview 1.2.1 55 Using kaminari-activerecord 1.2.1 56 Using kaminari 1.2.1 57 Using method_source 1.0.0 58 Using thor 1.0.1 59 Using railties 6.0.3.2 60 Using sprockets 4.0.2 61 Using sprockets-rails 3.2.1 62 Using rails 6.0.3.2 63 Using kaminari-i18n 0.5.0 64 Using pg 1.2.3 65 Using puma 4.3.5 66 Using rack-proxy 0.6.5 67 Using rails-i18n 6.0.0 68 Using sassc 2.4.0 69 Using tilt 2.0.10 70 Using sassc-rails 2.1.2 71 Using sass-rails 6.0.0 72 Using turbolinks-source 5.2.0 73 Using turbolinks 5.2.1 74 Using webpacker 4.2.2 75 Bundle complete! 21 Gemfile dependencies, 66 gems now installed. 76 Gems in the groups development and test were not installed. 77 Bundled gems are installed into `./vendor/bundle` 78 Bundle completed (0.89s) 79 Cleaning up the bundler cache. 80-----> Installing node-v10.15.3-linux-x64 81-----> Installing yarn-v1.16.0 82-----> Detecting rake tasks 83-----> Preparing app for Rails asset pipeline 84 Running: rake assets:precompile 85 yarn install v1.16.0 86 [1/4] Resolving packages... 87 [2/4] Fetching packages... 88 info fsevents@2.1.3: The platform "linux" is incompatible with this module. 89 info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation. 90 info fsevents@1.2.13: The platform "linux" is incompatible with this module. 91 info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation. 92 [3/4] Linking dependencies... 93 warning " > webpack-dev-server@3.11.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0". 94 warning "webpack-dev-server > webpack-dev-middleware@3.7.2" has unmet peer dependency "webpack@^4.0.0". 95 [4/4] Building fresh packages... 96 Done in 26.85s. 97 yarn install v1.16.0 98 [1/4] Resolving packages... 99 [2/4] Fetching packages... 100 info fsevents@2.1.3: The platform "linux" is incompatible with this module. 101 info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation. 102 info fsevents@1.2.13: The platform "linux" is incompatible with this module. 103 info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation. 104 [3/4] Linking dependencies... 105 warning " > webpack-dev-server@3.11.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0". 106 warning "webpack-dev-server > webpack-dev-middleware@3.7.2" has unmet peer dependency "webpack@^4.0.0". 107 [4/4] Building fresh packages... 108 Done in 4.88s. 109 Compiling... 110 Compiled all packs in /tmp/build_2d64efa8d4a8636d28798c8913b39dec/public/packs 111 Hash: 30e319745d29b037de5c 112 Version: webpack 4.43.0 113 Time: 11561ms 114 Built at: 07/13/2020 4:58:14 AM 115 Asset Size Chunks Chunk Names 116 js/application-bc41fd1e052affcc101d.js 296 KiB 0 [emitted] [immutable] [big] application 117 js/application-bc41fd1e052affcc101d.js.LICENSE.txt 541 bytes [emitted] 118 js/application-bc41fd1e052affcc101d.js.gz 68.4 KiB [emitted] 119 js/application-bc41fd1e052affcc101d.js.map 812 KiB 0 [emitted] [dev] application 120 js/application-bc41fd1e052affcc101d.js.map.gz 191 KiB [emitted] 121 manifest.json 364 bytes [emitted] 122 manifest.json.gz 142 bytes [emitted] 123 Entrypoint application [big] = js/application-bc41fd1e052affcc101d.js js/application-bc41fd1e052affcc101d.js.map 124 [0] (webpack)/buildin/module.js 552 bytes {0} [built] 125 [2] (webpack)/buildin/global.js 905 bytes {0} [built] 126 [3] ./app/javascript/packs/application.js 863 bytes {0} [built] 127 [6] ./app/javascript/channels/index.js 205 bytes {0} [built] 128 [7] ./app/javascript/channels sync _channel.js$ 160 bytes {0} [built] 129 [12] ./node_modules/@rails/actiontext/app/javascript/actiontext/index.js + 1 modules 2.64 KiB {0} [built] 130 | 2 modules 131 + 7 hidden modules 132 133 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). 134 This can impact web performance. 135 Assets: 136 js/application-bc41fd1e052affcc101d.js (296 KiB) 137 138 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance. 139 Entrypoints: 140 application (296 KiB) 141 js/application-bc41fd1e052affcc101d.js 142 143 144 WARNING in webpack performance recommendations: 145 You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application. 146 For more info visit https://webpack.js.org/guides/code-splitting/ 147 148 Asset precompilation completed (49.67s) 149 Cleaning assets 150 Running: rake assets:clean 151-----> Detecting rails configuration 152###### WARNING: 153 You set your `config.assets.compile = true` in production. 154 This can negatively impact the performance of your application. 155 156 For more information can be found in this article: 157 https://devcenter.heroku.com/articles/rails-asset-pipeline#compile-set-to-true-in-production 158 159###### WARNING: 160 You set your `config.active_storage.service` to :local in production. 161 If you are uploading files to this app, they will not persist after the app 162 is restarted, on one-off dynos, or if the app has multiple dynos. 163 Heroku applications have an ephemeral file system. To 164 persist uploaded files, please use a service such as S3 and update your Rails 165 configuration. 166 167 For more information can be found in this article: 168 https://devcenter.heroku.com/articles/active-storage-on-heroku 169 170###### WARNING: 171 We detected that some binary dependencies required to 172 use all the preview features of Active Storage are not 173 present on this system. 174 175 For more information please see: 176 https://devcenter.heroku.com/articles/active-storage-on-heroku 177 178###### WARNING: 179 No Procfile detected, using the default web server. 180 We recommend explicitly declaring how to boot your server process via a Procfile. 181 https://devcenter.heroku.com/articles/ruby-default-web-server 182-----> Discovering process types 183 Procfile declares types -> (none) 184 Default types for buildpack -> console, rake, web 185-----> Compressing... 186 Done: 145.5M 187-----> Launching... 188 Released v8 189 https://volvord.herokuapp.com/ deployed to Heroku
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/07/13 07:58
2020/07/13 08:11
2020/07/14 08:36