Opened 12 years ago

Last modified 12 years ago

#37013 closed defect

Not require node.js modules, installed globaly via npm — at Initial Version

Reported by: darkvlados@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: npm

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.