Commit 8427012
Fix Docker build failure by upgrading Shakapacker to 8.2.0
React on Rails 16 requires Shakapacker 8.2.0+ for proper packer type
detection. With Shakapacker 8.0.0, ReactOnRails::PackerUtils.packer_type
returned nil, causing React on Rails to invoke `:clean` instead of
`shakapacker:clean` during assets:precompile, which resulted in a
"Don't know how to build task ':clean'" error.
Changes:
- Upgrade shakapacker gem from 8.0.0 to 8.2.0 in Gemfile
- Upgrade shakapacker npm package from 8.0.0 to 8.2.0 in package.json
This resolves the Docker build failure and ensures React on Rails 16
can properly invoke the shakapacker:clean task during asset compilation.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent c3bbc27 commit 8427012
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7910 | 7910 | | |
7911 | 7911 | | |
7912 | 7912 | | |
7913 | | - | |
| 7913 | + | |
7914 | 7914 | | |
7915 | | - | |
| 7915 | + | |
7916 | 7916 | | |
7917 | 7917 | | |
7918 | 7918 | | |
| |||
0 commit comments