Page MenuHomePhabricator

npm install needs to be run on "vagrant provision" for guests using vagrant-proxyconf
Closed, DeclinedPublic

Description

The image doesn't include npm and vagrant-proxyconf can only configure npm's proxy once it is installed. This means that npm needs to be run on "vagrant provision".


Version: unspecified
Severity: normal

Details

Reference
bz61502

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:03 AM
bzimport set Reference to bz61502.
bzimport added a subscriber: Unknown Object (MLST).

This seems like a legitimate bug, but I have a hard time figuring out what is actually broken. What are you expecting, and what is the actual behavior?

hexmode: Can you please answer comment 1?

(In reply to Ori Livneh from comment #1)

This seems like a legitimate bug, but I have a hard time figuring out what
is actually broken. What are you expecting, and what is the actual behavior?

I'm working on other things right now, so I can't say for sure what the problem is, but as I recall, mw-vagrant would try to invoke npm before its proxy was configured.

Re-reading my explanation, though, I'm not sure how npm could be run without a proxy (since evidently apt needs to have its proxy configured).

Hrm... but perhaps this is an interaction between vagrant-proxyconf and mw-vagrant. Maybe this fails if you enable the ve role and then run provision. npm would then be installed but the npm-based installations would fail because its proxy isn't configured.

In this case, If vagrant-proxyconf might (or might not, I don't recall) configure the npm proxy on the next provision. Would mw-vagrant try to re-run the npm installations after that?

Sorry, I'll try to provide a better explanation after I retry the scenario.

Bulk unassigning bugs from Ori.

bd808 changed the task status from Open to Stalled.Dec 30 2014, 12:33 AM
bd808 triaged this task as Low priority.
Aklapper subscribed.

I'll try to provide a better explanation after I retry the scenario.

Unfortunately closing this Phabricator task as no further information has been provided.

@MarkAHershberger: After you have provided the information asked for and if this still happens, please set the status of this task back to "Open" via the Add Action...Change Status dropdown. Thanks!