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

前端 未结 15 1424
眼角桃花
眼角桃花 2020-11-30 03:40

I am suddenly getting this error in development and in production on deployment.

custom.css.scss

@import \"bootstrap-sprockets\";
@import \"bootstrap         


        
15条回答
  •  感情败类
    2020-11-30 04:11

    I had the same problem

    sass::syntaxerror: file to import not found or unreadable: config/variables.
    

    , I opened a new css file (I called it custom.css) then copied all the css to the file. On application.css I removed the

    @import "config/variables" plus all the other @imports

    This worked for me, I hope it does work for you too!

提交回复
热议问题