Skip to content

Instantly share code, notes, and snippets.

@salcode
Created April 22, 2015 19:42
Show Gist options
  • Save salcode/4480df9a90f6bbc7a786 to your computer and use it in GitHub Desktop.
Save salcode/4480df9a90f6bbc7a786 to your computer and use it in GitHub Desktop.
Throws the error [Composer\Repository\InvalidRepositoryException] No valid composer.json was found in any branch or tag of https://github.com/WebDevStudios/Hash-Link-Scroll-Offset, could not load a package from it.
{
"repositories":[
{
"type":"composer",
"url":"http://wpackagist.org"
},
{
"type": "vcs",
"url": "https://github.com/WebDevStudios/Hash-Link-Scroll-Offset"
}
],
"require": {
"wpackagist-plugin/markdown-on-save":">1.2",
"WebDevStudios/Hash-Link-Scroll-Offset": "dev-master"
},
"extra": {
"installer-paths": {
"wp-content/plugins/{$name}": ["WebDevStudios/Hash-Link-Scroll-Offset"]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment