Tag: 字节顺序标记

BOM错误,input未检测到错误

这是我的JSON { "name": "dockerizing-magento", "description": "ADockerizedMagentoCommunityEdition", "require": { "magento-hackathon/magento-composer-installer": "v2.1.1", "magento/core": "1.9.1.0-patch1" }, "require-dev": {}, "repositories": [], "extra": { "magento-root-dir": "web", "auto-append-gitignore": true }, "config": { "discard-changes": true }, "minimum-stability": "dev", "prefer-stable": true, "scripts": { "post-install-cmd": [], "post-update-cmd": [] } } 当我尝试composer update 它给出的错误 [SELD \ JsonLint \ ParsingException] “./composer.json”不包含有效的JSON 检测到BOM,确保您的input不包含Unicode Byte-Order-Mark 更新[–prefer-source] [–prefer-dist] [–dry-run] […]