-
Notifications
You must be signed in to change notification settings - Fork 42
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
LoadError: cannot load such file -- sassc #30
Comments
Try removing the Same goes for the |
@vovimayhem, had only //= link application.css, removed and doing precompile, problem is the same. Perhaps it is because Sprockets 4 processor by default is sassc (dev dependency sassc too)? https://github.com/rails/sprockets/blob/main/lib/sprockets.rb#L172-L173 |
Found out the problem: As under stylesheets root folder were extra This errors showed because file actually had different extension. Solution:
|
And for production, got in Removing that line works just fine. @vovimayhem it is not needed, right? Didn't saw this mentioned in documentation. |
running
rake assets:precompile
ends with the error.Can't find why it still requires sassc, sassc only was in project when migrated to sprockets 4 using Guide to upgrading from Sprockets 3.x to 4.x:
and then followed dartsass-rails install documentation.
did:
ruby-3.1.2
manifest.js file content:
error log:
OS: mac
When I install gem with dependency on sassc-rails (example pdfjs_viewer-rails) and start server with
./bin/dev
, then all starts up and works fine.The text was updated successfully, but these errors were encountered: