Open ice3 opened 1 year ago
I tried, in an docker (FROM node:21-bookworm), it worked as expected.
The problem only manifest on macos from what I see.
I am also running into this issue on MacOS 14.2.1 with M1
I'm getting a
# This file contains the result of Yarn building a package (isolated-vm@npm:4.7.2)
# Script name: install
prebuild-install warn install No prebuilt binaries found (target=22.5.1 runtime=node arch=arm64 libc= platform=darwin)
gyp info it worked if it ends with ok
gyp info using node-gyp@10.2.0
gyp info using node@22.5.1 | darwin | arm64
gyp info find Python using Python version 3.9.6 found at "/Applications/Xcode.app/Contents/Developer/usr/bin/python3"
gyp info spawn /Applications/Xcode.app/Contents/Developer/usr/bin/python3
gyp info spawn args [
gyp info spawn args '/Users/mavery/Development/cvent/stt/backstage/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/mavery/Development/cvent/stt/backstage/node_modules/isolated-vm/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/mavery/Development/cvent/stt/backstage/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/mavery/Library/Caches/node-gyp/22.5.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/mavery/Library/Caches/node-gyp/22.5.1',
gyp info spawn args '-Dnode_gyp_dir=/Users/mavery/Development/cvent/stt/backstage/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/mavery/Library/Caches/node-gyp/22.5.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/mavery/Development/cvent/stt/backstage/node_modules/isolated-vm',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build', '--jobs', 10 ]
CXX(target) Release/obj.target/nortti/src/external_copy/serializer_nortti.o
CXX(target) Release/obj.target/nortti/src/isolate/allocator_nortti.o
In file included from ../src/external_copy/serializer_nortti.cc:1:
In file included from ../src/external_copy/serializer.h:2:
In file included from ../src/external_copy/external_copy.h:9:
In file included from ../src/isolate/generic/array.h:2:
../src/isolate/generic/error.h:84:65: error: value of type 'Local<Value> (Local<String>, Local<Value>)' is not implicitly convertible to 'v8::Local<v8::Value> (*)(v8::Local<v8::String>)'
using RuntimeGenericError = detail::RuntimeErrorWithConstructor<v8::Exception::Error>;
^~~~~~~~~~~~~~~~~~~~
Which seems like it is similar maybe?
forcing greater than 5 resolved my issue.
Hello, I try to install in MacOS and get this. It's a fresh node install.
npm install isolated-vm
fails.It's unclear from the log and an internet search what I'm missing.
Environment: