-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Doesn't seem to like vm2 b/c of a library 'contextify' #495
Comments
It looks like this library is kind of incompatible with bundling. It loads content from the file system at run-time using If it's not too much trouble, I believe you can get this to work by manually copying the file |
I'm assuming this is answered because of the 👍. Closing. |
Actually that was to thanks for the comment I hadn't tested it until now.. Turns out I also needed But thanks I can confirm now that the work around worked. |
Perhaps this is a problem with VM2 and the way it manages dependencies (however a bit of digging seems to suggest that contextify.js is now internal to node.js?)
Eitherway with this setup:
package.json
tsconfig.json
main.ts
I get these results when I try build / run it:
The text was updated successfully, but these errors were encountered: