seelrd Posted November 18, 2018 Posted November 18, 2018 (edited) Hello, I am trying to require the 'vm' NodeJS core module on the client-side (https://nodejs.org/api/vm.html). It is working perfectly on the server-side and our server would need it for a quite important script manager. As I recognised, client-side require tries requires only from local files (./vm.js) and the 'vm' variable isn't defined until loading it. We are already using it on the server-side in a script that manages all the server and makes all the development easier and the server more stable. I hope someone can help me regarding this issue. Thank you! Edited November 18, 2018 by seelrd 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now