shu-pf / share_cards_new

ダウンロードカードを生成する。WEBサービスです。
0 stars 0 forks source link

ビルド時に発生するエラーを無くしたい #9

Open shu-pf opened 4 years ago

shu-pf commented 4 years ago

1つめ

Post-install message from i18n:

       HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
       But that may break your application.

       If you are upgrading your Rails application from an older version of Rails:

       Please check your Rails app for 'config.i18n.fallbacks = true'.
       If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
       'config.i18n.fallbacks = [I18n.default_locale]'.
       If not, fallbacks will be broken in your app by I18n 1.1.x.

       If you are starting a NEW Rails application, you can ignore this notice.

       For more info see:
       https://github.com/svenfuchs/i18n/releases/tag/v1.1.0

2つめ

Running: rake assets:precompile
       DEPRECATION WARNING: Including LoggerSilence is deprecated and will be removed in Rails 6.1. Please use `ActiveSupport::LoggerSilence` instead (called from <main> at /tmp/build_acabb403_/config/application.rb:7)

3つめ

warning " > webpack-dev-server@3.11.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning "webpack-dev-server > webpack-dev-middleware@3.7.2" has unmet peer dependency "webpack@^4.0.0".

4つめ

warning " > webpack-dev-server@3.11.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning "webpack-dev-server > webpack-dev-middleware@3.7.2" has unmet peer dependency "webpack@^4.0.0".

5つめ

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
       This can impact web performance.
       Assets: 
         css/application-4c91c4b5.css (452 KiB)
         js/application-7c4ae3cc44f73a26093b.js (262 KiB)
         js/application-7c4ae3cc44f73a26093b.js.map.gz (292 KiB)
         js/application-7c4ae3cc44f73a26093b.js.map.br (247 KiB)

       WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
       Entrypoints:
         application (714 KiB)
             css/application-4c91c4b5.css
             js/application-7c4ae3cc44f73a26093b.js

       WARNING in webpack performance recommendations: 
       You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
       For more info visit https://webpack.js.org/guides/code-splitting/
       Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref--7-1!node_modules/postcss-loader/src/index.js??ref--7-2!node_modules/sass-loader/dist/cjs.js??ref--7-3!app/javascript/stylesheets/application.scss:
           Entrypoint mini-css-extract-plugin = *
           [0] ./node_modules/css-loader/dist/cjs.js??ref--7-1!./node_modules/postcss-loader/src??ref--7-2!./node_modules/sass-loader/dist/cjs.js??ref--7-3!./app/javascript/stylesheets/application.scss 1.34 MiB {0} [built]
               + 1 hidden module
shu-pf commented 4 years ago

1つ目は 36f039a053fae2b23887d34fcf3ba060b4e95dba

にて解決