relistan / troll-opt

A powerful command line options parser for Node.js, inspired by Trollop
BSD 2-Clause "Simplified" License
5 stars 1 forks source link

It doesn't install correctly, fails with EEXIST on mkdir lib #2

Open Callmenorm opened 8 years ago

Callmenorm commented 8 years ago

Here is the logs from the failed installation:

> troll-opt@0.7.1 install /home/manderson/code/RestAutomation/Jmeter/Vision/node_modules/troll-opt
> test -d node_modules && ./node_modules/.bin/cake build || cake build

util.print: Use console.log instead
compiling...
fs.js:56
      throw err;  // Forgot a callback but don't know where? Use NODE_DEBUG=fs
            ^
Error: EEXIST: file already exists, mkdir 'lib'
  at Error (native)

util.print: Use console.log instead
compiling...
fs.js:56
      throw err;  // Forgot a callback but don't know where? Use NODE_DEBUG=fs
            ^
Error: EEXIST: file already exists, mkdir 'lib'
  at Error (native)

npm ERR! Linux 4.0.6-300.fc22.x86_64
npm ERR! argv "/usr/local/bin/iojs" "/usr/local/bin/npm" "install" "--save" "troll-opt"
npm ERR! node v2.2.1
npm ERR! npm  v2.11.0
npm ERR! code ELIFECYCLE

npm ERR! troll-opt@0.7.1 install: `test -d node_modules && ./node_modules/.bin/cake build || cake build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the troll-opt@0.7.1 install script 'test -d node_modules && ./node_modules/.bin/cake build || cake build'.
npm ERR! This is most likely a problem with the troll-opt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     test -d node_modules && ./node_modules/.bin/cake build || cake build
npm ERR! You can get their info via:
npm ERR!     npm owner ls troll-opt
npm ERR! There is likely additional logging output above.
relistan commented 8 years ago

Apologies for the slow reply. Thanks for the report. I haven't worked on this in a long time and probably won't get to resolve this. PR welcome.