質問編集履歴

2

プリコンパイルした結果を追記

2022/08/24 09:28

投稿

Great
Great

スコア22

test CHANGED
File without changes
test CHANGED
@@ -88,3 +88,14 @@
88
88
  jquery 3.6.0
89
89
  webpack 4.46.0
90
90
 
91
+ ### 追記
92
+ `bundle exec rake assets:precompile RAILS_ENV=production bin/rails assets:precompile`を実行したところ、
93
+ ```
94
+ bundle exec rake assets:precompile RAILS_ENV=production bin/rails assets:precompile
95
+ yarn install v1.22.5
96
+ [1/4] Resolving packages...
97
+ success Already up-to-date.
98
+ Done in 0.47s.
99
+ Everything's up-to-date. Nothing to do
100
+ ```
101
+ となりますが、`bundle exec rake assets:precompile RAILS_ENV=production`を実行したところ、デプロイ時と同様のエラーが出ます

1

一部追記

2022/08/23 16:29

投稿

Great
Great

スコア22

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,7 @@
1
1
  ### 概要
2
2
 
3
3
  Bootstrapを導入後、Herokuにデプロイしようとするとエラーがでる
4
+ (テスト環境では特段問題は見つからない)
4
5
  `git push heroku master`を実行すると下記のような出力が現れる
5
6
 
6
7