WeiChiaChang / howhow-cli

💻 竟然連 terminal 都開始業配了嗎? 可 ... 可惡!
MIT License
49 stars 5 forks source link

open/ted/github show errors #4

Open mosluce opened 6 years ago

mosluce commented 6 years ago

error logs:

  1. howhow open
Error: Exited with code 1
    at ChildProcess.cp.once.code (/Users/mosluce/.nvm/versions/node/v8.6.0/lib/node_modules/howhow/node_modules/opn/index.js:82:13)
    at Object.onceWrapper (events.js:318:30)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at maybeClose (internal/child_process.js:927:16)
    at Socket.stream.socket.on (internal/child_process.js:348:11)
    at emitOne (events.js:115:13)
    at Socket.emit (events.js:210:7)
    at Pipe._handle.close [as _onclose] (net.js:547:12)
  1. howhow ted
Error: Exited with code 1
    at ChildProcess.cp.once.code (/Users/mosluce/.nvm/versions/node/v8.6.0/lib/node_modules/howhow/node_modules/opn/index.js:82:13)
    at Object.onceWrapper (events.js:318:30)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at maybeClose (internal/child_process.js:927:16)
    at Socket.stream.socket.on (internal/child_process.js:348:11)
    at emitOne (events.js:115:13)
    at Socket.emit (events.js:210:7)
    at Pipe._handle.close [as _onclose] (net.js:547:12)
  1. howhow github
    Error: Exited with code 1
    at ChildProcess.cp.once.code (/Users/mosluce/.nvm/versions/node/v8.6.0/lib/node_modules/howhow/node_modules/opn/index.js:82:13)
    at Object.onceWrapper (events.js:318:30)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at maybeClose (internal/child_process.js:927:16)
    at Socket.stream.socket.on (internal/child_process.js:348:11)
    at emitOne (events.js:115:13)
    at Socket.emit (events.js:210:7)
    at Pipe._handle.close [as _onclose] (net.js:547:12)
WeiChiaChang commented 6 years ago

哇會噴錯啊 QQ 我的環境是 mac OS : 10.11.6 node : 8.5.0 @mosluce 我試著解決看看,感謝你的回報~!

billcccheng commented 6 years ago

maybe a npm install will fix this?

WeiChiaChang commented 6 years ago

Hello @mosluce,

So the other function like $ howhow works as expected right ? Maybe you can try to upgrade your npm version although I'm not sure if this issue can be solved QQ since opn this npm module occur some bugs or not.

Btw, you can try the above advice given by @billcccheng , thanks !