composer-normalize: Interface 'Localheinz\Json\Normalizer\NormalizerInterface' not found exception
Steps required to reproduce the problem
- Go PHP 7.1
composer global require localheinz/composer-normalize
composer update
Expected Result
- Normal composer update output
Actual Result
Fatal error: Interface 'Localheinz\Json\Normalizer\NormalizerInterface' not found in /Users/user/.composer/vendor/localheinz/composer-normalize/src/Normalizer/ComposerJsonNormalizer.php on line 20
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 25 (17 by maintainers)
https://github.com/composer/composer/releases/tag/1.7.1 is out now with the fix
@nicwortel
This is an issue in
composer/composer
and has already been fixed with https://github.com/composer/composer/commit/a74b63985e7cd811e5cdde30753249d8466666dd.As a workaround, follow @Seldaek’s suggestion at https://github.com/composer/composer/issues/7516#issuecomment-410459001: