#37013: Not require node.js modules, installed globaly via npm -------------------------------------------------+------------------------- Reporter: darkvlados@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: npm node nodejs node.js require | Version: 2.1.2 module | Port: -------------------------------------------------+------------------------- If I use require('some_module_installed_global') in my node.js projects, then: Error: Cannot find module 'some_module_installed_global' Which modules install in /opt/local/lib/node_modules/, but $NODE_PATH not properly sets. -- Ticket URL: <https://trac.macports.org/ticket/37013> MacPorts <http://www.macports.org/> Ports system for Mac OS