Node.Script: "Cannot find module"

Michael Olsen's icon

I've searched everywhere I can think of and can't find anything that has helped me yet, so I'm starting a new topic in hopes of finding a solution.

Terminal Installation

https://www.npmjs.com/package/mac-open I installed an npm package that enables me to open files from specific applications with a new node_module folder titled "mac-open". I'm wanting to use this module to open new Ableton Live sets from a Max 4 Live device.

Screen Recording 2020-02-25 at 11.31.20 PM.mov
video/quicktime 4.78 MB
Script Working in Atom

I can successfully utilize the module from within my IDE, but I can't get it to find the module from within Max.

Error I get from within Max

I've tried putting the files inside the npm folder in Max and that didn't help...

What do I need to do in order for Max to see this module?

File Path inside of the Max Application 1 of 2

File Path inside of the Max Application 2 of 2

Please let me know how I can clarify this issue further.

Thank you!

Michael