In the readme.md instructions say: Add the repositories from the module's composer.json to the root json.
But I cant find the repositories section in code, in composer.json.

Could you explain more the code to be copied?

I'm certainly very new at handling json and composer :(

posdata:

I try to find a more general page about adding code to json file and only find this:

https://www.drupal.org/node/2404989

But isnt a lot of instructions there.

Comments

koffer created an issue. See original summary.

koffer’s picture

I think I found the solution, just copy

"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
},
"leaflet": {
"type": "package",
"package": {
"name": "leaflet/leaflet",
"version": "v0.7.7",
"type": "drupal-library",
"dist": {
"url": "https://github.com/Leaflet/Leaflet/archive/v0.7.7.zip",
"type": "zip"
}
}
}
}

To composer.json and download almost everything look like php_ffmpeg feal.

Everything download and end with a: unexpected error after install Parade.

But I found how to install dependencies anyway.

gpap’s picture

Thanks for the feedback! Composer.json added with Leaflet.

gpap’s picture

Status: Active » Fixed
mhavelant’s picture

Status: Fixed » Closed (fixed)
balagan’s picture