dominictarr / npmd

MIT License
450 stars 37 forks source link

osenv is not defined when trying to npmd --sync #13

Closed airportyh closed 10 years ago

airportyh commented 11 years ago

Installed npmd for the first time, tried npmd --sync and got this error

$ npmd --sync

/usr/local/lib/node_modules/npmd/node_modules/npmd-install/index.js:22
  var tmpdir = osenv.tmpdir()
               ^
ReferenceError: osenv is not defined
    at module.exports (/usr/local/lib/node_modules/npmd/node_modules/npmd-install/index.js:22:16)
    at /usr/local/lib/node_modules/npmd/index.js:37:28
    at /usr/local/lib/node_modules/npmd/node_modules/npmconf/npmconf.js:76:7
    at Array.forEach (native)
    at /usr/local/lib/node_modules/npmd/node_modules/npmconf/npmconf.js:75:13
    at /usr/local/lib/node_modules/npmd/node_modules/npmconf/node_modules/once/once.js:17:15
    at Conf.<anonymous> (/usr/local/lib/node_modules/npmd/node_modules/npmconf/npmconf.js:117:9)
    at Conf.g (events.js:175:14)
    at Conf.EventEmitter.emit (events.js:95:17)
    at ConfigChain._resolve (/usr/local/lib/node_modules/npmd/node_modules/npmconf/node_modules/config-chain/index.js:281:34)
dominictarr commented 10 years ago

this is fixed.