/ / कमांड 'योनि बॉक्स जोड़ें' विफल - योनि

कमांड 'वानर बॉक्स एड' असफल - वारंटी

vagrantup.com इनपुट कहता है vagrant box add hashicorp/precise32,

लेकिन जब मैं इसे इनपुट करता हूं, टर्मिनल त्रुटि संदेश आउटपुट करता है:

This command was not invoked properly. The help for this command is
available below.

Usage: vagrant box add <name> <url> [--provider provider] [-h]

फिर, मैं इनपुट vagrant box add hashicorp/precise32 http://files.vagrantup.com/hashicorp/precise32.box,
लेकिन निम्न त्रुटि संदेश के साथ डाउनलोड विफल रहता है।

Download failed. Will try another box URL if there is one.
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Couldn"t open file /Users/XXXX/ http:/files.vagrantup.com/precise32.box

मैं योनि बॉक्स कैसे स्थापित करूं?

उत्तर:

उत्तर № 1 के लिए 42

के लिए वाक्यविन्यास vagrant box add के कारण subcommand को संस्करण 1.5 के साथ बदल दिया जाता है Vagrant मेघ परिचय।

आउटपुट संदेशों से ऐसा लगता है कि आप "पुराने संस्करण का उपयोग कर रहे हैं, इसलिए वर्तमान दस्तावेज़ आपके मामले के लिए विश्वसनीय नहीं है।

यहाँ आप पुराने दस्तावेज़ का एक स्नैपशॉट पा सकते हैं, किसी भी स्थिति में आपको जिस वाक्यविन्यास का उपयोग करने की आवश्यकता है वह निम्न प्रकार है:

vagrant box add precise32 http://files.vagrantup.com/precise32.box