TLDR:
- all software is up to date (vagrant, virtualbox)
- all repositories are up to date (mediawiki/vagrant, mediawiki/core)
- mediawiki-vagrant VM is just created
- npm install fails
$ sw_vers ProductName: Mac OS X ProductVersion: 10.13.6 BuildVersion: 17G3025 $ vboxmanage --version 5.2.22r126460 $ vagrant -v Vagrant 2.2.1 $ cd mediawiki/vagrant $ git status On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean $ git log -1 commit 5cb79d7ab3d04d5a950cdbdbb4bdf562774f4c32 (HEAD -> master, origin/master, origin/HEAD) Author: Gergő Tisza <gtisza@wikimedia.org> Date: Thu Nov 15 14:16:14 2018 -0800 Fix git-review Vagrant uses legacy /r/p repo URLs bug git-review 1.26+ expects /r (and older git-review is broken in a different way). Does not fix existing repos which Vagrant already cloned with the /r/p remote path. Bug: T163242 Change-Id: I548ee4307b9cf9c6342cf9b9c9c1f225b74c24aa $ vagrant roles list -e Enabled roles: (no roles) $ vagrant status Current machine states: default not created (virtualbox) ... $ vagrant up ... (no problems) $ vagrant ssh $ node -v v6.14.4 $ npm -v 2.15.12 $ cd /vagrant/mediawiki $ git status On branch master Your branch is up-to-date with 'origin/master'. nothing to commit, working tree clean $ git log -1 commit 32542f66db7821660d3683e74a572ec3ab1e76f2 Merge: 1c04b7ae61 dd70d9e71f Author: jenkins-bot <jenkins-bot@gerrit.wikimedia.org> Date: Tue Nov 27 14:36:30 2018 +0000 Merge "Preferences: Remove unused message for RC/Watchlist opt-out section" $ rm -rf node_modules/ $ npm install npm WARN peerDependencies The peer dependency karma@^0.13.0 || ^1.0.0 included from grunt-karma will no npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly. npm WARN optional dep failed, continuing fsevents@1.2.4 npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info. npm WARN optional dep failed, continuing fsevents@1.2.4 npm WARN deprecated circular-json@0.5.9: CircularJSON is in maintenance only, flatted is its successor. > fibers@2.0.2 install /vagrant/mediawiki/node_modules/wdio-mocha-framework/node_modules/wdio-sync/node_modules/fibers > node build.js || nodejs build.js `linux-x64-48` exists; testing Binary is fine; exiting npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor. npm WARN deprecated boom@4.3.1: This version is no longer maintained. Please upgrade to the latest version. - > sauce-connect-launcher@1.2.4 postinstall /vagrant/mediawiki/node_modules/wdio-sauce-service/node_modules/sauce-connect-launcher > node scripts/install.js || nodejs scripts/install.js npm ERR! Linux 4.9.0-8-amd64 npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i" npm ERR! node v6.14.4 npm ERR! npm v2.15.12 npm ERR! code EPEERINVALID npm ERR! peerinvalid The package karma@3.0.0 does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer grunt-karma@3.0.0 wants karma@^0.13.0 || ^1.0.0 npm ERR! peerinvalid Peer karma-mocha-reporter@2.2.5 wants karma@>=0.13 npm ERR! Please include the following file with any support request: npm ERR! /vagrant/mediawiki/npm-debug.log