- [View source↑]
- [History↑]
Contents
Thread title | Replies | Last modified |
---|---|---|
The lock file does not contain require-dev information | 0 | 12:28, 6 August 2015 |
Having installed both Composer and Git on Windows, I found that the instructions did not help in the particular case of a fresh install of MW 1.25.1 + SMW dev/latest - "Install / Update SMW with Composer". The command composer require mediawiki/semantic-media-wiki "dev-master" (or the same without -master) failed with
The lock file does not contain require-dev information
What I did, however, was to run composer update, which then installed a long list of things including Semantic MediaWiki. It said that git was not recognised as a valid command, so that instead SMW was downloaded from dist. If I may hazard a guess, the problem could be that in the default setup, Git only runs in GitBatch but is now required by the Windows command console, although this is not a problem I ever encountered before. Anyway, the download from dist did the trick and SMW 2.3 alpha is now successfully installed.
I don't know enough about this particular issue to amend the docs or even submit a report at GitHub, but hopefully this helps (a bit).