Ruby on Rails のサーバーを開くために、ターミナルに以下のコードを打ちました。```ターミナル
% rails s
=> Booting Puma
=> Rails 6.0.3.4 application starting in development
=> Run rails server --help
for more startup options
Exiting
Traceback (most recent call last):
65: from bin/rails:4:in <main>' 64: from /Users/ooeakio/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in
require'
63: from /Users/ooeakio/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:291:in `load_dependency'
62: from
・・・・・・・・・・・・・・・
/Users/ooeakio/vendor/bundle/ruby/2.7.0/gems/webpacker-4.3.0/lib/webpacker/configuration.rb:92:in load' 1: from /Users/ooeakio/vendor/bundle/ruby/2.7.0/gems/webpacker-4.3.0/lib/webpacker/configuration.rb:92:in
read'
/Users/ooeakio/vendor/bundle/ruby/2.7.0/gems/webpacker-4.3.0/lib/webpacker/configuration.rb:92:in read': No such file or directory @ rb_sysopen - /Users/ooeakio/config/webpacker.yml (Errno::ENOENT) 64: from bin/rails:4:in
<main>'
63: from /Users/ooeakio/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `require'
・・・・・・・・・・・・・・・・・
/Users/ooeakio/vendor/bundle/ruby/2.7.0/gems/webpacker-4.3.0/lib/webpacker/configuration.rb:88:in data' 1: from /Users/ooeakio/vendor/bundle/ruby/2.7.0/gems/webpacker-4.3.0/lib/webpacker/configuration.rb:91:in
load'
/Users/ooeakio/vendor/bundle/ruby/2.7.0/gems/webpacker-4.3.0/lib/webpacker/configuration.rb:95:in `rescue in load': Webpacker configuration file not found /Users/ooeakio/config/webpacker.yml. Please run rails webpacker:install Error: No such file or directory @ rb_sysopen - /Users/ooeakio/config/webpacker.yml (RuntimeError)
というエラーコードがかえってきます。どうすれば、良いか教えてください。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/11/16 10:13