Support the ongoing development of Laravel.io →
Input Configuration
Last updated 2 years ago.
0

Problem solved. It's my oversight )

0

Why not post your solution so when people google it and open the first result they don't just see "problem solved"?!?

0

For me the solution was to fix the composer.json file in the project. Under require-dev I had

	"require-dev": {
		"phpunit/phpunit": "~4.0",
		"phpspec/phpspec": "~2.1",
	},

At one point I had 3 in there and when I removed it I forgot to remove the 2nd comma. Once I fixed this code make:request executed appropriately.

	"require-dev": {
		"phpunit/phpunit": "~4.0",
		"phpspec/phpspec": "~2.1"
	},
0

@brent2890 thanks for this, I had a comment in the composer.json file and it totally blocked the make requests. Nice spot. :)

0

Same problem Same solution for me, it was caused by and extra , camma in my composer.json file

0

Thanks, Brent2890, same solution worked for me. I had an additional character in the composer.json file

0

to be honest I had the same problem and it was solved by removing a comma from the require-dev section

0

Yes I had the same issue and then solved by removing the comma in the composer.json file, thanks OP!

0

The CLI command : "composer diagnose" (without the double quotes) is very handy for checking syntax errors in the composer.json file .

0

Worked for me, some missing brackets, so its safe to say, This namespace error indicates that there is an error with the composer.json file.

Thanks!

0

Thanks! Worked for me. Apparently you have to eliminate the extra commas. Regardless of where it is, in my case it was in "require" instead of "require-dev"

0

Same problem, and this worked! Thanks!

0

Sign in to participate in this thread!

Eventy

Your banner here too?

esomkin esomkin Joined 18 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.