Using npm modules without using apm

Where I work the systems are not on the internet at all. I trying to manually add the js-yaml or yaml-js modules from npm to my node_modules location. I have tried them both plus all their dependencies don’t load also. When I run node.exe to test the module I’m geting “the module not found” when I run the require(‘js-yaml’) or (‘yaml-js’) or any of the dependencies. I have tried to load them in the package directory also no luck. I have no access to the internet from those systems so apm and npm is not possible solution.