Opened 13 years ago
Closed 13 years ago
#32494 closed defect (invalid)
npm not working with node 0.6.5
Reported by: | digitalrinaldo@… | Owned by: | ci42 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
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 (3)
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 |
comment:2 Changed 13 years ago by digitalrinaldo@…
Thanks that took care of it. It seems my use of many different versions has left incompatible files around. Thanks sorry about the formatting. I am able to use 6.5 and express 2.5.2 finally,
comment:3 Changed 13 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.