isolated-vm icon indicating copy to clipboard operation
isolated-vm copied to clipboard

Assertion failed: (key <= detail::IsolateSpecificSize), function Deref, file ../src/isolate/environment.h, line 359.

Open martin-krcmar opened this issue 3 years ago • 8 comments

require('isolated-vm') throws an error

Default__zsh_

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

martin-krcmar avatar Aug 31 '21 13:08 martin-krcmar

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?

jakedaleweb avatar Jul 24 '23 03:07 jakedaleweb

isolated-vm requires nodejs v16.0 or higher

laverdet avatar Jul 25 '23 12:07 laverdet

I had this issue on an environment running node 18.

jakedaleweb avatar Jul 25 '23 22:07 jakedaleweb

I encountered the same problem as well. Are there any potential workarounds for this?

Zakaryan92 avatar Aug 30 '23 14:08 Zakaryan92