isolated-vm
isolated-vm copied to clipboard
Assertion failed: (key <= detail::IsolateSpecificSize), function Deref, file ../src/isolate/environment.h, line 359.
require('isolated-vm') throws an error

Reproduce:
- unzip the example.zip example.zip
- run npm install in the root folder
- run npm install in the subfolder called
folder
- go to the root folder and run
node run/run.js
the line where it fails is the second require('isolated-vm')
call in the folder/another-file.js
.
node v14.16.0 isolated-vm version 4.3.4
Hi, was there resolution on this issue? I am seeing the same issue on require
in specific situations
Assertion failed: (key <= detail::IsolateSpecificSize), function Deref, file environment.h, line 357.
Any tips as to what this means so I can debug?
isolated-vm requires nodejs v16.0 or higher
I had this issue on an environment running node 18.
I encountered the same problem as well. Are there any potential workarounds for this?