-
Notifications
You must be signed in to change notification settings - Fork 555
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
Attempted to load class "Compiler" from namespace "Leafo\ScssPhp". #896
Comments
This has been reported in pull request #892 |
@abelardolg @robocoder This has been implemented in the 2.0 branch of assetic-php/assetic. Until we tag 2.0, you can pull it in by using |
@LukeTowers , I have added these two lines inside my composer.json:
Previously, I deleted var/cache, logs, composer cacheclear and vendor dir but it still continues showing me the same message. Should I add some lines more inside another file (e.g. AppKernel)? Any help would be welcome. Best regards. |
@abelardolg what's the full stack trace? Are you using See https://github.com/assetic-php/assetic/blob/2.0/dev/src/Assetic/Filter/ScssFilter.php |
Thanks for your tips. |
I commented the line where I inserted the reference to this package: but it still continues with the same issue: Best regards. |
@abelardolg you need to remove the kriswallsmith reference from your composer and run composer update. If it's still present at all it will cause issues. |
@LukeTowers : thanks for your comment but I proceed to run the above steps but this time I run composer update (instead of composer install) but nothing happens: it remains same issue. |
@abelardolg please post your current composer.json |
composer.txt |
Anybody could help me with this issue, please? Best regards. |
@abelardolg the problem is that you're using symfony/assetic-bundle which pulls in this current library instead of the updated fork: https://github.com/symfony/assetic-bundle/blob/master/composer.json#L21. You can try adding |
Ok, then I'll wait to download that library...when it is available. Thanks for your help, time and effort. Best regards. |
@LukeTowers @abelardolg the ScssFilter change has been merged into 2.0/dev :) |
Hi, According to my attached composer.txt, what changes should I do? Best regards. |
@jaxwilko can you submit a PR to the october rain library to update the reference? To the wip/laravel-6 branch please. |
I added that library on the top: but it nothing solves. |
@jaxwilko I think we might have to update the replace property of composer.json to reference |
@abelardolg We've just released the 2.0 release that addresses a number of existing issues and dependency updates, see https://github.com/assetic-php/assetic/releases/tag/v2.0.0 for more information! Please try it out and let us know if you have any issues! |
Hi there,
I am using the package:
"scssphp/scssphp": "^1.0.6"
When I delete vendor, var/cache and clear cache of composer, I run:
composer install
then this message outputs:
Then, I run the following command:
and I discovered that your package still uses Leafo/scss (this package was abandoned in favour of scssphp/scssphp):
What's wrong?
Best regards.
The text was updated successfully, but these errors were encountered: