composer: Error with repo.packagist.org/packages.json
I have the following error with composer 1.7-RC when I do composer update
[Seld\JsonLint\ParsingException]
"https://repo.packagist.org/packages.json" does not contain valid JSON
Parse error on line 1:
▼\\\\\\♥��ݎ♀���
^
Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 39 (23 by maintainers)
@staabm your issue looks totally unrelated. In your case the compressed content is output instead of being buffered. This issue is about json payloads being corrupted. I’d be surprised if this ends up being a Composer issue. Please look closer on your side…