Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

3.9.4 breakchange? #371

Closed
ACERY1 opened this issue Oct 13, 2021 · 1 comment · Fixed by #372
Closed

3.9.4 breakchange? #371

ACERY1 opened this issue Oct 13, 2021 · 1 comment · Fixed by #372

Comments

@ACERY1
Copy link

ACERY1 commented Oct 13, 2021

My Code:

const { VM } = require('vm2');
new VM();

TypeError: Cannot set property 'value' of undefined
at setupCallSite (node_modules/_vm2@3.9.4@vm2/lib/contextify.js:1087:19)
at Object. (node_modules/_vm2@3.9.4@vm2/lib/contextify.js:1090:4)
at new VM (node_modules/_vm2@3.9.4@vm2/lib/main.js:722:88)

image

what may cause this error ?

@XmiliaH
Copy link
Collaborator

XmiliaH commented Oct 13, 2021

Should be fixed in the master branch

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

Successfully merging a pull request may close this issue.

2 participants