Help talk:Installation/Windows environment

From semantic-mediawiki.org

Contents

Thread titleRepliesLast modified
The lock file does not contain require-dev information012:28, 6 August 2015

The lock file does not contain require-dev information

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).

12:28, 6 August 2015