Mount a host node_modules directory into the VM at /root/node_modules.
This is the explicit, mount-based replacement for the removed moduleAccessCwd
mechanism: the VM module resolver reads the mounted tree through the kernel
VFS, so the caller supplies exactly the node_modules directory whose
packages should resolve in the guest.
Mount a host
node_modulesdirectory into the VM at/root/node_modules.This is the explicit, mount-based replacement for the removed
moduleAccessCwdmechanism: the VM module resolver reads the mounted tree through the kernel VFS, so the caller supplies exactly thenode_modulesdirectory whose packages should resolve in the guest.