Page MenuHomePhabricator

Vagrant eventbus role can't be installed because of node_version
Open, Needs TriagePublic


I've just set up a completely fresh mediawiki-vagrant instance, and attempted to enable the visualeditor role. This causes the following provision error:

==> default: Error: Evaluation Error: Error while evaluating a Function Call, EventBus role requires the EventGate service, which requires NodeJS 10. Please set npm::node_version: 10 in hiera to install it. at /vagrant/puppet/modules/role/manifests/eventbus.pp:15:9 on node

Event Timeline

DLynch created this task.Oct 31 2019, 3:55 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 31 2019, 3:55 AM

This is probably a regression of T218238, which indicated that it was going to be making eventgate optional for cases which don't strictly require it.

For now I went with making a puppet/hieradata/local.yaml file and including npm::node_version: 10 within it.

Tgr added a subscriber: Tgr.Feb 27 2020, 5:26 AM

You can change the setting with vagrant hiera npm::node_version: 10. The error message should probably say that.
See T217113#5685963 for background.