-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
Bug - The output file scheme is not supported. #512
Comments
Knp\Snappy\AbstractGenerator.php Line: 629 Generated file name C:\Windows\Temp\test.html
|
Same bug with 1.4.8 version and PHP: 7.4 Any solution? |
Tested with all versions of 0.4.* and get the same error |
on 1.4.1 can't be the same error. Because the code which check schema it's not present. Test carefully what version did you installed. Maybe you can try to delete vendor and composer-lock.json. In your composer the package should be without '^'. like this |
I have the same problem. A bug fix is already in the works and will be in the next release. WorkaroundSo here is a workaround that works just as well. After that, you need to do one of the following things:
|
I should be able to release a fix this week. |
Fix released, I've added a test pipeline for Windows to avoid OS related issues to happen again. |
It works now, thanks! |
Hello.
On version 1.4.3 of knplabs/knp-snappy we got this error.
The output file scheme is not supported. Expected '' or 'file' but got 'c.
The solution was to change the version back to 1.4.1
Also we tried to update version of laravel-snappy as well to 1 from 0.4.8, but without any results.
Server: Windows IIS
PHP: 8.1.13
The text was updated successfully, but these errors were encountered: