LoginSignup
0
0

More than 3 years have passed since last update.

Sass::SyntaxError: File to import not found or unreadable: bootstrap-sprockets.

Last updated at Posted at 2020-07-13

assets:precompile でのエラー

bundle exec rails assets:precompile RAILS_ENV=production
Sass::SyntaxError: File to import not found or unreadable: bootstrap-sprockets.

bootstrap4を使っているのに、bootstrap3の設定があった為
bootstrap4では

app/assets/stylesheets/application.scss
@import “bootstrap-sprockets”; 

がいらない

http://binbo-roku.com/bootstrap/programming/study/bootstrap より引用)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0