在Windows上打包,然后在Mac下面使用,出现错误

来源:3-8 打包分发环境

hujunil

2017-05-17 17:05

➜  myenv vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'myenv'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: myenv_default_1495010353182_71427
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...    default: Adapter 1: nat
==> default: Forwarding ports...    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrantfor controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "7b021294-aa01-4ace-a0ff-2562353ed3a2", "--type", "headless"]

Stderr: VBoxManage: error: The VM session was aborted
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component SessionMachine, interface ISession

写回答 关注

1回答

  • 编程浪子
    2017-06-08 13:13:28

    我还真没有遇到过,是不是打包到进入了一些和平台相关的东西

vagrant打造跨平台可移动的开发环境

Vgarant是开发者必备利器之一,本课程主要分为理论和实践两部分

13889 学习 · 117 问题

查看课程

相似问题