H
H
HeartOfProgrammer2016-01-23 15:59:08
Composer
HeartOfProgrammer, 2016-01-23 15:59:08

Why can't update composer.json in laravel 5.1?

I need the forms in laravel 5 to work, but for some reason he does not want to update the plugins. Installed laravel 5.1 via composer project in PHPstrom 10. Everything was fine, but as soon as I want to update the plugins in composer.json, it gives me the following error in the terminal:
9204808b318b4b6480d5d2066dd09a77.png
And here is my composer.json
be4c3e0e00774d76a662772b68edbbb3.png
What could be the error? And how to fix it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor, 2016-01-23
@HeartOfProgrammer

There must be no commas before the closing brace in require / require_dev (after the laravelcollective/html and phpspec/phpspec elements). The JSON specification does not allow trailing commas.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question