Skip to content

npm:isolated-vm is not supported #25130

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

Open
franz101 opened this issue Aug 21, 2024 · 2 comments
Open

npm:isolated-vm is not supported #25130

franz101 opened this issue Aug 21, 2024 · 2 comments
Labels
bug Something isn't working correctly node compat triage required 👀 Deno team needs to make a decision if this change is desired

Comments

@franz101
Copy link

franz101 commented Aug 21, 2024

Version: Deno x.x.x

npm:isolated-vm

Is the alternative to launch an isolate with:
new Worker?

// Create a new isolate limited to 128MB
import ivm from 'npm:isolated-vm';
const isolate = new ivm.Isolate({ memoryLimit: 128 });

raises
error: Uncaught (in promise) Error: Cannot find module './out/isolated_vm'
Require stack:

What is the best way to run a child that does not crash the main thread?

@littledivy littledivy added bug Something isn't working correctly node compat labels Aug 21, 2024
@littledivy
Copy link
Member

This needs post-install scripts. Tracking issue: #16164

@lovemilk233
Copy link

Does isolate-vm uses V8 directly under the hood? Does it actually integrate with Deno well with working post-install scripts?

@bartlomieju bartlomieju added the triage required 👀 Deno team needs to make a decision if this change is desired label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly node compat triage required 👀 Deno team needs to make a decision if this change is desired
Projects
None yet
Development

No branches or pull requests

4 participants