Answer the question
In order to leave comments, you need to log in
How to solve an error when installing a package using composer?
I have ubuntu, installed composer globally, here is the content of composer.json
{
"require": {
"fxp/composer-asset-plugin": "^1.2.0"
}
composer global require phpunit/phpunit
[Seld\JsonLint\ParsingException]
"./composer.json" does not contain valid JSON
Parse error on line 5:
...n": "^1.2.0" }
-------------------^
Expected one of: '}', ','
Answer the question
In order to leave comments, you need to log in
The closing bracket is missing, right in your attached code:
{
"require": {
"fxp/composer-asset-plugin": "^1.2.0"
<b>}</b>
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question