Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File to import not found or unreadable: bootstrap/scss/bootstrap #280

Open
MaximeBranger opened this issue Mar 29, 2024 · 0 comments
Open

Comments

@MaximeBranger
Copy link

Hi guys,
We have a rails 7 in production that raising strange issue :

When we preform a

rails assets:precompile

this crash with this

SassC::SyntaxError: Error: File to import not found or unreadable: bootstrap/scss/bootstrap. (SassC::SyntaxError)
        on line 2:1 of app/assets/stylesheets/application.scss
>> @import 'bootstrap/scss/bootstrap';

Curious fact is when i retry to do a rails assets:precompile, it works well.
This seems that yarn is still running when rails tried to fetch bootstrap package.

I don't know if i am in the good place for this issue but hope someone could help me to understand this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant