Page MenuHomePhabricator

MediaWiki-Vagrant: Could not find command '/usr/bin/npm'
Open, LowPublic

Description

Hello, I have been trying to install vagrant Mediawiki using the information here. I keep getting the error

 The SSH command responded with a non-zero exit status. Vagrant (Vagrant::Errors::VagrantError)
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what

I have tried both

vagrant destroy

and

vagrant up provision to no avail

here is a full log
https://pastebin.com/KP9Z5N1i
https://pastebin.com/4j030GR8

Event Timeline

Looks like an issue related to npm

==> default: Notice: /Stage[main]/Npm/Package[nodejs]/ensure: created
==> default: Error: /Stage[main]/Npm/Exec[downgrade_npm]: Could not evaluate: Could not find command '/usr/bin/npm'
Reedy renamed this task from Vagrant Installation of media wiki returning errors to Could not find command '/usr/bin/npm'.Oct 18 2019, 11:41 PM
Tgr renamed this task from Could not find command '/usr/bin/npm' to MediaWiki-Vagrant: Could not find command '/usr/bin/npm'.Oct 28 2019, 7:53 AM
Aklapper triaged this task as Low priority.Dec 6 2022, 10:26 AM