Opened 13 years ago

Last modified 13 years ago

#32494 closed defect

npm not working with node 0.6.5 — at Version 1

Reported by: digitalrinaldo@… Owned by: ciserlohn@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: ryandesign@…
Port: npm

Description (last modified by ryandesign (Ryan Carsten Schmidt))

m1:portal rinaldo$ port list | grep npm
npm                            @1.0.106        devel/npm
m1:portal rinaldo$ port list | grep node
nodejs                         @0.6.5          devel/nodejs
nodejs-devel                   @0.5.10         devel/nodejs-devel



m1:portal rinaldo$ npm list

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: No such module
    at Object.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/config-defs.js:5:21)
    at Module._compile (module.js:432:26)
    at Object..js (module.js:450:10)
    at Module.load (module.js:351:31)
    at Function._load (module.js:310:12)
    at Module.require (module.js:357:17)
    at require (module.js:368:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/ini.js:40:18)
    at Module._compile (module.js:432:26)
    at Object..js (module.js:450:10)

Change History (1)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to ciserlohn@…
Port: npm added

Please remember to use WikiFormatting, fill in the Port field, and Cc the maintainer of that port.

Also note that "port list" does not do what you think it does. It shows you what ports are available, not what ports you have.

Please remove /usr/local/lib/node_modules and anything else in /usr/local; it's interfering with MacPorts.

Note: See TracTickets for help on using tickets.