felixge / node-cross-compiler

Simplified cross compiling for node.js using vagrant.
105 stars 27 forks source link

customization command failed #3

Closed remy closed 11 years ago

remy commented 11 years ago

Any idea why vagrant would fail to get the machine running?

Here's the vagrant up error:

» vagrant up
[default] Box ubuntu-12.04-32bit was not found. Fetching box from specified URL...
[vagrant] Downloading with Vagrant::Downloaders::HTTP...
[vagrant] Downloading box: http://files.vagrantup.com/precise32.box
[vagrant] Extracting box...
[vagrant] Verifying box...
[vagrant] Cleaning up downloaded box...
[default] Importing base box 'ubuntu-12.04-32bit'...
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.

Guest Additions Version: 4.2.0
VirtualBox Version: 4.1.8
[default] Matching MAC address for NAT networking...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Running any VM customizations...
A customization command failed:

["modifyvm", "f9eaa69b-82b8-4256-8073-6abc185e0770", "--memory", 2048]

The following error was experienced:
/Library/Ruby/Gems/1.8/gems/childprocess-0.3.1/lib/childprocess/unix/fork_exec_process.rb:33:in `exec': can't convert Fixnum into String (TypeError)
[snip]
felixge commented 11 years ago

Try adding quotes around 2048.

Are you running an old vagrant version?

remy commented 11 years ago

The quotes did the trick. I did update vagrant, but it failed in the same way when I tried before updating the Vagrantfile with those quotes.

I'd send you a pull request - but this week is a little busy ;-) maybe Saturday!

felixge commented 11 years ago

I'd send you a pull request - but this week is a little busy ;-) maybe Saturday!

^--- see above ; )

remy commented 11 years ago

Cheers.

On Monday, 5 November 2012, Felix Geisendörfer wrote:

I'd send you a pull request - but this week is a little busy ;-) maybe Saturday!

^--- see above ; )

— Reply to this email directly or view it on GitHubhttps://github.com/felixge/node-cross-compiler/issues/3#issuecomment-10062333.