-
Webpacker configuration file not foundDev/Ruby On Rails 2020. 1. 30. 22:07반응형
Rails 를 신규로 설치하는 도중 아래와 같은 에러를 만나면
/home/itips/.rvm/gems/ruby-2.6.3/gems/webpacker-4.0.7/lib/webpacker/configuration.rb:91: in `rescue in load': Webpacker configuration file not found /git/my-200130/config/webpac ker.yml. Please run rails webpacker:install Error: No such file or directory @ rb_sysope n - /git/my-200130/config/webpacker.yml (RuntimeError)
1. Gemfile.lock 파일안의 web[acker 버전을 낮추고 webpacket:install 을 재실행한다.
webpacker (4.2.1) -> webpacker (4.0.7)
$ bundle exec rails webpacker:install
l끝
반응형'Dev > Ruby On Rails' 카테고리의 다른 글
Missing `secret_key_base` for 'production' environment (0) 2020.02.22 Could not load the 'listen' gem. Add `gem 'listen'` to the development group of your Gemfile (LoadError) (0) 2020.02.11 Address already in use - bind(2) (Errno::EADDRINUSE) (0) 2019.10.23 rails controller 에 curl post 하는 방법 (0) 2019.10.07 Ruby On Rails 리눅스 상에 처음 설치하기 (0) 2019.10.05