rails / webpacker

Use Webpack to manage app-like JavaScript modules in Rails
MIT License
5.31k stars 1.47k forks source link

rake assets:precompile running twice #3089

Closed sebyx07 closed 3 years ago

sebyx07 commented 3 years ago

the rake assets:precompile on heroku runs twice. Is it because of tailwind or because of bin file? Or this is normal?

Here is the project https://github.com/personal-social-media/personal-social-media

and heroku output

-----> Building on the Heroku-20 stack
-----> Deleting 1 files matching .slugignore patterns.
-----> Using buildpack: heroku/ruby
-----> Ruby app detected
-----> Installing bundler 2.2.21
-----> Removing BUNDLED WITH version in the Gemfile.lock
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-3.0.1
-----> Installing dependencies using bundler 2.2.21
       Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 bundle install -j4
       Using rake 13.0.3
       Using concurrent-ruby 1.1.9
       Using i18n 1.8.10
       Using minitest 5.14.4
       Using tzinfo 2.0.4
       Using zeitwerk 2.4.2
       Using activesupport 6.1.4
       Using builder 3.2.4
       Using erubi 1.10.0
       Using racc 1.5.2
       Using nokogiri 1.11.7 (x86_64-linux)
       Using rails-dom-testing 2.0.3
       Using crass 1.0.6
       Using loofah 2.10.0
       Using rails-html-sanitizer 1.3.0
       Using actionview 6.1.4
       Using rack 2.2.3
       Using rack-test 1.1.0
       Using actionpack 6.1.4
       Using nio4r 2.5.7
       Using websocket-extensions 0.1.5
       Using websocket-driver 0.7.5
       Using actioncable 6.1.4
       Using globalid 0.4.2
       Using activejob 6.1.4
       Using activemodel 6.1.4
       Using activerecord 6.1.4
       Using marcel 1.0.1
       Using mini_mime 1.1.0
       Using activestorage 6.1.4
       Using mail 2.7.1
       Using actionmailbox 6.1.4
       Using actionmailer 6.1.4
       Using actiontext 6.1.4
       Using activemodel-serializers-xml 1.0.2
       Using fiber-local 1.0.0
       Using console 1.13.1
       Using timers 4.3.3
       Using async 1.29.1
       Using async-io 1.32.1
       Using async-container 0.16.11
       Using async-pool 0.3.7
       Using protocol-http 0.22.2
       Using protocol-http1 0.14.1
       Using protocol-hpack 1.4.2
       Using protocol-http2 0.14.2
       Using async-http 0.56.3
       Using async-http-cache 0.4.2
       Using bundler 2.2.21
       Using method_source 1.0.0
       Using thor 1.1.0
       Using railties 6.1.4
       Using sprockets 4.0.2
       Using sprockets-rails 3.2.2
       Using rails 6.1.4
       Using attributes_sanitizer 0.1.6
       Using babel-source 5.8.35
       Using execjs 2.8.1
       Using babel-transpiler 0.7.0
       Using bcrypt 3.1.16
       Using bitwise_attribute 0.3.3 from https://github.com/personal-social-media/bitwise_attribute.git (at 36371f6@36371f6)
       Using msgpack 1.4.2
       Using bootsnap 1.7.5
       Using bugsnag 6.21.0
       Using build-environment 1.13.0
       Using uniform_notifier 1.14.2
       Using bullet 6.1.4
       Using chartkick 4.0.4
       Using connection_pool 2.2.5
       Using email_validator 2.2.3
       Using et-orbi 1.2.4
       Using ffi 1.15.3
       Using ethon 0.14.0
       Using localhost 1.1.8
       Using mapping 1.1.1
       Using samovar 2.1.4
       Using process-metrics 0.2.1
       Using falcon 0.39.1
       Using raabro 1.4.0
       Using fugit 1.5.0
       Using google-protobuf 3.15.8 (x86_64-linux)
       Using groupdate 5.2.2
       Using temple 0.8.2
       Using tilt 2.0.10
       Using haml 5.2.1
       Using murmurhash3 0.1.6
       Using hash_digest 1.1.3
       Using json 2.5.1
       Using hcaptcha 7.1.0 from https://github.com/personal-social-media/hcaptcha.git (at a213532@a213532)
       Using hiredis 0.6.3
       Using jb 0.8.0
       Using jquery-rails 4.4.0
       Using jquery-ui-rails 6.0.1
       Using kaminari-core 1.2.1
       Using kaminari-actionview 1.2.1
       Using kaminari-activerecord 1.2.1
       Using kaminari 1.2.1
       Using lockbox 0.6.4
       Using nested_form 0.3.2
       Using oj 3.12.0
       Using pbkdf2-ruby 0.2.1
       Using pg 1.2.3
       Using pg_query 2.0.3
       Using pghero 2.8.1
       Using usagewatch 0.0.7
       Using psm-ruby-stats 1.1.0
       Using rack-pjax 1.1.0
       Using rack-proxy 0.7.0
       Using sys-cpu 1.0.3
       Using vidibus-sysinfo 1.2.0
       Using view_component 2.34.0
       Using semantic_range 3.0.0
       Using webpacker 6.0.0.beta.7 from https://github.com/rails/webpacker.git
       Using rails-server-monitor 0.1.10
       Using remotipart 1.4.4
       Using sassc 2.4.0
       Using sassc-rails 2.1.2
       Using rails_admin 2.1.1
       Using rbnacl 7.1.1
       Using react-rails 2.6.1
       Using redis 4.3.1
       Using redis-prescription 1.0.0
       Using render_async 2.1.10
       Using request_store 1.5.0
       Using request_store_rails 2.0.0
       Using sidekiq 6.2.1
       Using request_store_rails-sidekiq 0.1.0
       Using rmega 0.2.7 from https://github.com/personal-social-media/rmega.git (at bc1ffc6@bc1ffc6)
       Using sass-rails 6.0.0
       Using sidekiq-cron 1.2.0
       Using sidekiq-throttled 0.13.0
       Using skylight 5.1.1
       Using str_enum 0.2.0
       Using strong_migrations 0.7.7
       Using turbolinks-source 5.2.0
       Using turbolinks 5.2.1
       Using typhoeus 1.4.0
       Using unicode-version 1.1.0
       Using unicode-emoji 2.8.0
       Using validates_host 1.3.0
       Bundle complete! 63 Gemfile dependencies, 140 gems now installed.
       Gems in the groups 'development' and 'test' were not installed.
       Bundled gems are installed into `./vendor/bundle`
       Bundle completed (0.95s)
       Cleaning up the bundler cache.
-----> Installing node-v12.16.2-linux-x64
-----> Installing yarn-v1.22.4
-----> Detecting rake tasks
-----> Preparing app for Rails asset pipeline
       Running: rake assets:precompile
       I, [2021-07-10T12:18:07.643492 #288]  INFO -- : [SKYLIGHT] [5.1.1] Skylight agent enabled
       `Redis#exists(key)` will return an Integer by default in redis-rb 4.3. The option to explicitly disable this behaviour via `Redis.exists_returns_integer` will be removed in 5.0. You should use `exists?` instead.
       yarn install v1.22.4
       [1/4] Resolving packages...
       [2/4] Fetching packages...
       info fsevents@2.3.2: The platform "linux" is incompatible with this module.
       info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
       info fsevents@1.2.13: The platform "linux" is incompatible with this module.
       info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
       [3/4] Linking dependencies...
       warning " > @babel/preset-react@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
       warning "@babel/preset-react > @babel/plugin-transform-react-display-name@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
       warning "@babel/preset-react > @babel/plugin-transform-react-jsx@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
       warning "@babel/preset-react > @babel/plugin-transform-react-jsx-development@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
       warning "@babel/preset-react > @babel/plugin-transform-react-pure-annotations@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
       warning "@babel/preset-react > @babel/plugin-transform-react-jsx > @babel/plugin-syntax-jsx@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
       [4/4] Building fresh packages...
       Done in 44.31s.
       I, [2021-07-10T12:18:53.175603 #288]  INFO -- : Compiling...
       I, [2021-07-10T12:19:21.552450 #288]  INFO -- : Compiled all packs in /tmp/build_569c35c8/vendor/bundle/ruby/3.0.0/gems/rails-server-monitor-0.1.10/public/rails-server-monitor-packs
       E, [2021-07-10T12:19:21.552563 #288] ERROR -- : 
       warn - You have enabled the JIT engine which is currently in preview.
       warn - Preview features are not covered by semver, may introduce breaking changes, and can change at any time.

       I, [2021-07-10T12:19:21.552629 #288]  INFO -- : assets by path media/images/ 3.23 MiB
         assets by path media/images/*.woff 451 KiB 15 assets
         assets by path media/images/*.woff2 358 KiB 15 assets
         assets by path media/images/*.svg 1.73 MiB 3 assets
         assets by path media/images/*.eot 363 KiB 3 assets
         assets by path media/images/*.ttf 362 KiB 3 assets
       assets by path js/*.js 351 KiB
         asset js/83-3b3806b2bdb68fa6f066.js 349 KiB [emitted] [immutable] [minimized] [big] (id hint: vendors) 4 related assets
         asset js/runtime-e1a96dbb797a8de2073f.js 1.38 KiB [emitted] [immutable] [minimized] (name: runtime) 3 related assets
         asset js/rails-server-application-17f27b980bf70535c63c.js 568 bytes [emitted] [immutable] [minimized] (name: rails-server-application) 3 related assets
       assets by path css/*.css 90.8 KiB
         asset css/83-549984ab.css 75.8 KiB [emitted] [immutable] (id hint: vendors) 3 related assets
         asset css/rails-server-application-ee2b67ca.css 15 KiB [emitted] [immutable] (name: rails-server-application) 3 related assets
       asset manifest.json 10.3 KiB [emitted] 2 related assets
       Entrypoint rails-server-application [big] 442 KiB (4.72 MiB) = js/runtime-e1a96dbb797a8de2073f.js 1.38 KiB css/83-549984ab.css 75.8 KiB js/83-3b3806b2bdb68fa6f066.js 349 KiB css/rails-server-application-ee2b67ca.css 15 KiB js/rails-server-application-17f27b980bf70535c63c.js 568 bytes 44 auxiliary assets
       orphan modules 1020 KiB [orphan] 309 modules
       runtime modules 3.37 KiB 6 modules
       code generated modules 830 KiB (javascript) 90.7 KiB (css/mini-extract) [code generated]
         built modules 830 KiB [built]
           modules by path ./node_modules/ 829 KiB
             modules by path ./node_modules/chartkick/ 679 KiB 2 modules
           modules by path ./app/javascript/ 1.06 KiB
             ./app/javascript/packs/rails-server-application.js + 1 modules 926 bytes [built] [code generated]
             ./app/javascript/controllers/ sync -controller\.js$ 160 bytes [built] [code generated]
         css modules 90.7 KiB
           css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[3]!./app/javascript/stylesheets/main.scss 14.9 KiB [code generated]
           css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./node_modules/typeface-roboto/index.css 5.15 KiB [code generated]
           css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./node_modules/@fortawesome/fontawesome-free/css/all.css 70.6 KiB [code generated]

       WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
       This can impact web performance.
       Assets: 
         media/images/216edb96b562c79adc09.svg (730 KiB)
         media/images/13de59f1a36b6cb4bca0.svg (897 KiB)
         js/83-3b3806b2bdb68fa6f066.js (349 KiB)
         media/images/13de59f1a36b6cb4bca0.svg.gz (250 KiB)
         media/images/216edb96b562c79adc09.svg.gz (249 KiB)
         js/83-3b3806b2bdb68fa6f066.js.map.gz (344 KiB)
         js/83-3b3806b2bdb68fa6f066.js.map.br (290 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:
         rails-server-application (442 KiB)
             js/runtime-e1a96dbb797a8de2073f.js
             css/83-549984ab.css
             js/83-3b3806b2bdb68fa6f066.js
             css/rails-server-application-ee2b67ca.css
             js/rails-server-application-17f27b980bf70535c63c.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/

       webpack 5.39.1 compiled with 3 warnings in 25885 ms

       yarn install v1.22.4
       [1/4] Resolving packages...
       [2/4] Fetching packages...
       info fsevents@2.3.2: The platform "linux" is incompatible with this module.
       info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
       info fsevents@1.2.13: The platform "linux" is incompatible with this module.
       info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
       [3/4] Linking dependencies...
       warning " > @babel/preset-react@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
       warning "@babel/preset-react > @babel/plugin-transform-react-display-name@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
       warning "@babel/preset-react > @babel/plugin-transform-react-jsx@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
       warning "@babel/preset-react > @babel/plugin-transform-react-jsx-development@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
       warning "@babel/preset-react > @babel/plugin-transform-react-pure-annotations@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
       warning "@babel/preset-react > @babel/plugin-transform-react-jsx > @babel/plugin-syntax-jsx@7.14.5" has unmet peer dependency "@babel/core@^7.0.0-0".
       warning "psm-draft-js-emoji-mart-plugin > find-with-regex@1.1.3" has incorrect peer dependency "draft-js@^0.10.5".
       [4/4] Building fresh packages...
       Done in 29.82s.
       Compiling...
       Compiled all packs in /tmp/build_569c35c8/public/packs

       warn - You have enabled the JIT engine which is currently in preview.
       warn - Preview features are not covered by semver, may introduce breaking changes, and can change at any time.

       assets by path media/images/ 3.23 MiB
         assets by path media/images/*.woff 451 KiB 15 assets
         assets by path media/images/*.woff2 358 KiB 15 assets
         assets by path media/images/*.svg 1.73 MiB 3 assets
         assets by path media/images/*.eot 363 KiB 3 assets
         assets by path media/images/*.ttf 362 KiB 3 assets
       assets by path js/*.js 2 MiB
         asset js/33-5e403cf012cee64c90d6.js 1.95 MiB [emitted] [immutable] [minimized] [big] (id hint: vendors) 4 related assets
         asset js/application-b8b3308489e577611eef.js 54.6 KiB [emitted] [immutable] [minimized] (name: application) 3 related assets
         asset js/runtime-6fa7d09d92720ddeaae0.js 1.63 KiB [emitted] [immutable] [minimized] (name: runtime) 3 related assets
       assets by path css/*.css 105 KiB
         asset css/33-5912314a.css 83.9 KiB [emitted] [immutable] (id hint: vendors) 3 related assets
         asset css/application-7d3ea96c.css 21 KiB [emitted] [immutable] (name: application) 3 related assets
       asset manifest.json 8.01 KiB [emitted] 2 related assets
       Entrypoint application [big] 2.1 MiB (7.05 MiB) = js/runtime-6fa7d09d92720ddeaae0.js 1.63 KiB css/33-5912314a.css 83.9 KiB js/33-5e403cf012cee64c90d6.js 1.95 MiB css/application-7d3ea96c.css 21 KiB js/application-b8b3308489e577611eef.js 54.6 KiB 44 auxiliary assets
       orphan modules 1.02 MiB [orphan] 545 modules
       runtime modules 3.71 KiB 8 modules
       built modules 3.54 MiB (javascript) 105 KiB (css/mini-extract) [built]
         modules by path ./node_modules/ 3.46 MiB (javascript) 83.9 KiB (css/mini-extract)
           javascript modules 2.35 MiB 300 modules
           css modules 83.9 KiB 3 modules
           json modules 1.11 MiB 3 modules
         modules by path ./app/javascript/ 86.2 KiB (javascript) 21 KiB (css/mini-extract)
           cacheable modules 83.1 KiB (javascript) 21 KiB (css/mini-extract) 49 modules
           ./app/javascript/components/ sync ^\.\/.*$ 2.17 KiB [built] [code generated]
           ./app/javascript/channels/ sync _channel\.js$ 160 bytes [built] [code generated]
           ./app/javascript/controllers/ sync -controller\.js$ 794 bytes [built] [code generated]
         ./util.inspect (ignored) 15 bytes [built] [code generated]

       WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
       This can impact web performance.
       Assets: 
         media/images/216edb96b562c79adc09.svg (730 KiB)
         media/images/13de59f1a36b6cb4bca0.svg (897 KiB)
         js/33-5e403cf012cee64c90d6.js (1.95 MiB)
         media/images/13de59f1a36b6cb4bca0.svg.gz (250 KiB)
         media/images/216edb96b562c79adc09.svg.gz (249 KiB)
         js/33-5e403cf012cee64c90d6.js.gz (402 KiB)
         js/33-5e403cf012cee64c90d6.js.map.gz (915 KiB)
         js/33-5e403cf012cee64c90d6.js.br (269 KiB)
         js/33-5e403cf012cee64c90d6.js.map.br (755 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 (2.1 MiB)
             js/runtime-6fa7d09d92720ddeaae0.js
             css/33-5912314a.css
             js/33-5e403cf012cee64c90d6.js
             css/application-7d3ea96c.css
             js/application-b8b3308489e577611eef.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/

       webpack 5.40.0 compiled with 3 warnings in 52152 ms

       Asset precompilation completed (163.85s)
       Cleaning assets
       Running: rake assets:clean
       I, [2021-07-10T12:20:51.325831 #602]  INFO -- : [SKYLIGHT] [5.1.1] Skylight agent enabled
       `Redis#exists(key)` will return an Integer by default in redis-rb 4.3. The option to explicitly disable this behaviour via `Redis.exists_returns_integer` will be removed in 5.0. You should use `exists?` instead.
-----> Detecting rails configuration
###### WARNING:
       There is a more recent Ruby version available for you to use:

       3.0.2

       The latest version will include security and bug fixes. We always recommend
       running the latest version of your minor release.

       Please upgrade your Ruby version.

       For all available Ruby versions see:
         https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
-----> Discovering process types
       Procfile declares types     -> background, release, web
       Default types for buildpack -> console, rake
-----> Compressing...
tagliala commented 3 years ago

Hi,

the rake assets:precompile on heroku runs twice. Is it because of tailwind or because of bin file? Or this is normal?

I would just say it is not normal

I did not investigate into your application, I can see in example that you are using the main branch and JIT, but I've tried a deploy with a simple starter app and the compilation is fine

Enumerating objects: 46, done.
Counting objects: 100% (46/46), done.
Delta compression using up to 4 threads
Compressing objects: 100% (33/33), done.
Writing objects: 100% (34/34), 39.02 KiB | 4.88 MiB/s, done.
Total 34 (delta 13), reused 4 (delta 0), pack-reused 0
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Building on the Heroku-20 stack
remote: -----> Deleting 6 files matching .slugignore patterns.
remote: -----> Using buildpacks:
remote:        1. https://github.com/heroku/heroku-buildpack-activestorage-preview
remote:        2. heroku/nodejs
remote:        3. heroku/ruby
remote: -----> ActiveStorage Preview app detected
remote: -----> Installing binary dependencies for ActiveStorage Preview
remote:        Reusing cache
remote:        Downloading packages..
remote:        Installing packages.............
remote: -----> Node.js app detected
remote:        
remote: -----> Creating runtime environment
remote:        
remote:        NPM_CONFIG_LOGLEVEL=error
remote:        USE_YARN_CACHE=true
remote:        NODE_VERBOSE=false
remote:        NODE_ENV=production
remote:        NODE_MODULES_CACHE=true
remote:        
remote: -----> Installing binaries
remote:        engines.node (package.json):  >= 14.0.0 < 17
remote:        engines.npm (package.json):   unspecified (use default)
remote:        engines.yarn (package.json):  ^1.21.1
remote:        
remote:        Resolving node version >= 14.0.0 < 17...
remote:        Downloading and installing node 16.6.1...
remote:        Using default npm version: 7.20.3
remote:        Resolving yarn version ^1.21.1...
remote:        Downloading and installing yarn (1.22.11)
remote:        Installed yarn 1.22.11
remote:        
remote: -----> Restoring cache
remote:        - yarn cache
remote:        
remote: -----> Installing dependencies
remote:        Installing node modules (yarn.lock)
remote:        yarn install v1.22.11
remote:        [1/4] Resolving packages...
remote:        [2/4] Fetching packages...
remote:        info fsevents@2.3.2: The platform "linux" is incompatible with this module.
remote:        info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
remote:        info fsevents@1.2.13: The platform "linux" is incompatible with this module.
remote:        info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
remote:        [3/4] Linking dependencies...
remote:        [4/4] Building fresh packages...
remote:        Done in 18.24s.
remote:        
remote: -----> Build
remote:        
remote: -----> Pruning devDependencies
remote:        yarn install v1.22.11
remote:        [1/4] Resolving packages...
remote:        [2/4] Fetching packages...
remote:        info fsevents@2.3.2: The platform "linux" is incompatible with this module.
remote:        info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
remote:        info fsevents@1.2.13: The platform "linux" is incompatible with this module.
remote:        info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
remote:        [3/4] Linking dependencies...
remote:        [4/4] Building fresh packages...
remote:        warning Ignored scripts due to flag.
remote:        Done in 6.19s.
remote:        
remote: -----> Caching build
remote:        - yarn cache
remote:        
remote: -----> Build succeeded!
remote: -----> Ruby app detected
remote: -----> Installing bundler 2.2.21
remote: -----> Removing BUNDLED WITH version in the Gemfile.lock
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-3.0.2
remote: -----> Installing dependencies using bundler 2.2.21
remote:        Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 bundle install -j4
remote:        Fetching gem metadata from https://rubygems.org/
remote:        Fetching gem metadata from https://rubygems.org/............
remote:        Using rake 13.0.6
remote:        Using concurrent-ruby 1.1.9
remote:        Using minitest 5.14.4
remote:        Using zeitwerk 2.4.2
remote:        Using builder 3.2.4
remote:        Using erubi 1.10.0
remote:        Using mini_portile2 2.6.1
remote:        Using racc 1.5.2
remote:        Using crass 1.0.6
remote:        Using rack 2.2.3
remote:        Using nio4r 2.5.8
remote:        Using websocket-extensions 0.1.5
remote:        Using marcel 1.0.1
remote:        Using mini_mime 1.1.0
remote:        Using msgpack 1.4.2
remote:        Using bundler 2.2.22
remote:        Using method_source 1.0.0
remote:        Using newrelic_rpm 7.2.0
remote:        Using pg 1.2.3
remote:        Using rack-timeout 0.6.0
remote:        Using thor 1.1.0
remote:        Using semantic_range 3.0.0
remote:        Using temple 0.8.2
remote:        Using tilt 2.0.10
remote:        Using turbolinks-source 5.2.0
remote:        Using i18n 1.8.10
remote:        Using tzinfo 2.0.4
remote:        Using nokogiri 1.12.2 (x86_64-linux)
remote:        Using websocket-driver 0.7.5
remote:        Using mail 2.7.1
remote:        Using bootsnap 1.7.7
remote:        Using puma 5.4.0
remote:        Using activesupport 6.1.4
remote:        Using loofah 2.11.0
remote:        Using slim 4.1.0
remote:        Using turbolinks 5.2.1
remote:        Using rack-test 1.1.0
remote:        Using rack-proxy 0.7.0
remote:        Using sprockets 4.0.2
remote:        Using rails-dom-testing 2.0.3
remote:        Using rails-html-sanitizer 1.3.0
remote:        Using globalid 0.5.2
remote:        Using activemodel 6.1.4
remote:        Using actionview 6.1.4
remote:        Using activejob 6.1.4
remote:        Using activerecord 6.1.4
remote:        Using actionpack 6.1.4
remote:        Using actioncable 6.1.4
remote:        Using activestorage 6.1.4
remote:        Using actionmailer 6.1.4
remote:        Using railties 6.1.4
remote:        Using sprockets-rails 3.2.2
remote:        Using actionmailbox 6.1.4
remote:        Using actiontext 6.1.4
remote:        Using rails 6.1.4
remote:        Using slim-rails 3.3.0
remote:        Fetching webpacker 6.0.0.beta.7
remote:        Installing webpacker 6.0.0.beta.7
remote:        Bundle complete! 33 Gemfile dependencies, 57 gems now installed.
remote:        Gems in the groups 'development' and 'test' were not installed.
remote:        Bundled gems are installed into `./vendor/bundle`
remote:        Bundle completed (3.02s)
remote:        Cleaning up the bundler cache.
remote:        Removing bundler (2.2.21)
remote:        Removing webpacker (5.4.0)
remote: -----> Detecting rake tasks
remote: -----> Preparing app for Rails asset pipeline
remote:        Running: rake assets:precompile
remote:        yarn install v1.22.11
remote:        [1/5] Validating package.json...
remote:        [2/5] Resolving packages...
remote:        [3/5] Fetching packages...
remote:        info fsevents@2.3.2: The platform "linux" is incompatible with this module.
remote:        info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
remote:        info fsevents@1.2.13: The platform "linux" is incompatible with this module.
remote:        info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
remote:        [4/5] Linking dependencies...
remote:        [5/5] Building fresh packages...
remote:        Done in 29.45s.
remote:        Compiling...
remote:        Compiled all packs in /tmp/build_fdd676da/public/packs
remote:        assets by path js/*.js 359 KiB
remote:          asset js/639-75bf46afd6b736be1e36.js 356 KiB [emitted] [immutable] [minimized] [big] (id hint: vendors) 4 related assets
remote:          asset js/runtime-3bb83285bc8735b5db7e.js 1.5 KiB [emitted] [immutable] [minimized] (name: runtime) 3 related assets
remote:          asset js/application-1f05b16ee23e56d8882b.js 1.27 KiB [emitted] [immutable] [minimized] (name: application) 3 related assets
remote:        asset css/application-03a5d7e3.css 160 KiB [emitted] [immutable] [minimized] (name: application) 3 related assets
remote:        asset manifest.json 2.49 KiB [emitted] 2 related assets
remote:        Entrypoint application [big] 519 KiB (2.34 MiB) = js/runtime-3bb83285bc8735b5db7e.js 1.5 KiB js/639-75bf46afd6b736be1e36.js 356 KiB css/application-03a5d7e3.css 160 KiB js/application-1f05b16ee23e56d8882b.js 1.27 KiB 4 auxiliary assets
remote:        orphan modules 22.7 KiB [orphan] 24 modules
remote:        runtime modules 3.37 KiB 6 modules
remote:        modules by path ./node_modules/core-js/ 236 KiB 195 modules
remote:        modules by path ./node_modules/@popperjs/core/lib/ 70.6 KiB 37 modules
remote:        modules by path ./node_modules/bootstrap/js/src/ 140 KiB 22 modules
remote:        modules by path ./app/packs/ 4.14 KiB (javascript) 163 KiB (css/mini-extract) 5 modules
remote:        modules by path ./node_modules/@rails/ 60.4 KiB
remote:          ./node_modules/@rails/ujs/lib/assets/compiled/rails-ujs.js 27.7 KiB [built] [code generated]
remote:          ./node_modules/@rails/activestorage/app/assets/javascripts/activestorage.js 32.6 KiB [built] [code generated]
remote:        modules by path ./node_modules/@fortawesome/ 560 KiB
remote:          ./node_modules/@fortawesome/fontawesome-svg-core/index.es.js 75 KiB [built] [code generated]
remote:          ./node_modules/@fortawesome/free-brands-svg-icons/index.es.js 485 KiB [built] [code generated]
remote:        ./node_modules/turbolinks/dist/turbolinks.js 37.6 KiB [built] [code generated]
remote:        ./node_modules/jquery/dist/jquery.js 282 KiB [built] [code generated]
remote:        
remote:        WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
remote:        This can impact web performance.
remote:        Assets: 
remote:          js/639-75bf46afd6b736be1e36.js (356 KiB)
remote:          js/639-75bf46afd6b736be1e36.js.map.gz (595 KiB)
remote:          js/639-75bf46afd6b736be1e36.js.map.br (512 KiB)
remote:        
remote:        WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
remote:        Entrypoints:
remote:          application (519 KiB)
remote:              js/runtime-3bb83285bc8735b5db7e.js
remote:              js/639-75bf46afd6b736be1e36.js
remote:              css/application-03a5d7e3.css
remote:              js/application-1f05b16ee23e56d8882b.js
remote:        
remote:        WARNING in webpack performance recommendations: 
remote:        You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
remote:        For more info visit https://webpack.js.org/guides/code-splitting/
remote:        
remote:        1 WARNING in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
remote:        webpack 5.48.0 compiled with 4 warnings in 32316 ms
remote:        
remote:        yarn install v1.22.11
remote:        [1/5] Validating package.json...
remote:        [2/5] Resolving packages...
remote:        success Already up-to-date.
remote:        Done in 0.89s.
remote:        Asset precompilation completed (68.19s)
remote:        Cleaning assets
remote:        Running: rake assets:clean
remote: -----> Detecting rails configuration
remote: 
remote: 
remote: -----> Discovering process types
remote:        Procfile declares types     -> release, web
remote:        Default types for buildpack -> console, rake
remote: 
remote: -----> Compressing...
remote:        Done: 142.1M
remote: -----> Launching...
remote:  !     Release command declared: this new release will not be available until the command succeeds.
remote:        Released v189
remote:        https://ruby3-rails6-bootstrap-heroku.herokuapp.com/ deployed to Heroku
remote: 
remote: Verifying deploy... done.
remote: Running release command...
remote: 
remote: Waiting for release.... done.

I'm using the released npm package of beta 7