cancel
Showing results for 
Search instead for 
Did you mean: 

Composer Seld JsonLint ParsingException error .composer.json does not contain valid JSON

Composer Seld JsonLint ParsingException error .composer.json does not contain valid JSON

Hi there,

 

I'm having a composer issue and not sure what the problem is.

When I try to run any composer command, I receive the following error message below.

 

screenshot_11_

 

I have search every json file in my seld folder and I cannot find a single error so I don't understand where this error is coming from? 

Is there something I am missing?

I have checked every Json file within my seld folder on the https://jsonlint.com/ and every files comes back valid.

 

I'm trying to install stripe extension for a client and I'm stuck on this.

I need to run this command to install the libraries as I also receive this message on my backend "The Stripe PHP library has not been installed. Please follow the installation instructions to install the dependency."

 

Does anyone have any ideas what's wrong with my composer?

 

1 REPLY 1

Re: Composer Seld JsonLint ParsingException error .composer.json does not contain valid JSON

Okay, I seem to have found the issue.

The composer.json in my root folder contains the incorrect line...

Does anyone have any idea what this file should be and should contain???

 

Screenshot (14).pngScreenshot (15).png