feat(node): Ensure modulesIntegration works in more environments
#16566
+187
−36
modulesIntegration works in more environments
#16566