You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Since module has no dependencies, the linker function will never be called.
await module.link(() => {});
module.initialize();
await module.evaluate();
the method initialize does not exist. May be instantiate is correct.
Activity
devsnek commentedon Jul 20, 2018
yeah, it should be
module.instantiate();. if anyone wants to take this: https://github.com/nodejs/node/blob/master/doc/api/vm.mdsagirk commentedon Jul 20, 2018
I'm taking this up.
doc: fix incorrect method invocation on vm.Module instance