Expectations: sanbox a nodejs app allowing the app to only access its folder modules.
What's wrong: while trying to use the context "sandbox" the app seems to not work properly
example_full_nodejs has the typical node_modules, seems to load, however doesn't serve the requests. if I change it to "host" it works. I'm not sure if it's a bug.
Of course the alternative is wrap a express object (which works) however is a pity that this doesn't work. I hope it's just my config.
Thanks for vm2, it's really incredible tool.
Expectations: sanbox a nodejs app allowing the app to only access its folder modules. What's wrong: while trying to use the context "sandbox" the app seems to not work properly
example_full_nodejs has the typical node_modules, seems to load, however doesn't serve the requests. if I change it to "host" it works. I'm not sure if it's a bug.
Of course the alternative is wrap a express object (which works) however is a pity that this doesn't work. I hope it's just my config.
example_full_nodejs/index.js:
Thanks a lot for your answers!