Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred while installing libv8-node (18.16.0.0), and Bundler cannot continue. #1636

Closed
dzikrisyairozi opened this issue Aug 6, 2023 · 2 comments
Labels

Comments

@dzikrisyairozi
Copy link

C:\git\dzikrisyairozi.github.io>bundle install
Fetching gem metadata from https://rubygems.org/........
Resolving dependencies...
Installing libv8-node 18.16.0.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/libv8-node-18.16.0.0/ext/libv8-node
C:/Ruby32-x64/bin/ruby.exe extconf.rb
creating Makefile
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/libv8-node-18.16.0.0/ext/libv8-node/builder.rb:12:in
build_libv8!': failed to download node 18.16.0 (Libv8::Node::BuilderError) from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/libv8-node-18.16.0.0/ext/libv8-node/location.rb:30:in install!'
from extconf.rb:15:in `

'
==== in
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/libv8-node-18.16.0.0/ext/libv8-node
==== running
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/libv8-node-18.16.0.0/libexec/download-node

extconf failed, exit code 1

Gem files will remain installed in
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/libv8-node-18.16.0.0 for inspection.
Results logged to
C:/Ruby32-x64/lib/ruby/gems/3.2.0/extensions/x64-mingw-ucrt/3.2.0/libv8-node-18.16.0.0/gem_make.out

C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:119:in run' C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:28:in build'
C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:187:in
build_extension' C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:221:in block
in build_extensions'
C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:218:in each' C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:218:in build_extensions'
C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/installer.rb:846:in
build_extensions' C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bundler-2.4.18/lib/bundler/rubygems_gem_installer.rb:72:in build_extensions'
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bundler-2.4.18/lib/bundler/rubygems_gem_installer.rb:28:in
install' C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bundler-2.4.18/lib/bundler/source/rubygems.rb:202:in install'
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bundler-2.4.18/lib/bundler/installer/gem_installer.rb:54:in
install' C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bundler-2.4.18/lib/bundler/installer/gem_installer.rb:16:in install_from_spec'
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bundler-2.4.18/lib/bundler/installer/parallel_installer.rb:156:in
do_install' C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bundler-2.4.18/lib/bundler/installer/parallel_installer.rb:147:in block in worker_pool'
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bundler-2.4.18/lib/bundler/worker.rb:62:in
apply_func' C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bundler-2.4.18/lib/bundler/worker.rb:57:in block in process_queue'
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bundler-2.4.18/lib/bundler/worker.rb:54:in
loop' C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bundler-2.4.18/lib/bundler/worker.rb:54:in process_queue'
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/bundler-2.4.18/lib/bundler/worker.rb:90:in
`block (2 levels) in create_threads'

An error occurred while installing libv8-node (18.16.0.0), and Bundler cannot
continue.

In Gemfile:
mini_racer was resolved to 0.8.0, which depends on
libv8-node

found this error while doing bundle install

Any idea?

@AllenHuangDongyue
Copy link

How to solve it?

@AllenHuangDongyue
Copy link

How to solve it?

Got it, we need comment mini-racer in gemfile, and run bundler install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants