I need to install npm private packages during provision.

But they require `npm login` execution before installing private packages, 
otherwise npm will not find any priate package.

Because provision is not interactive, even if I run `npm login` during 
provision then I can't specify username and password.

So how to manage it?

I would avoid to put in the Vagrant machine filesystem files coming from 
the host - e.g. containing credentials or tokens - because I assume the 
host has no npm installed.

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/05940339-f7fa-4c18-881a-95dc8c5b785b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to