santinic / how2

AI for the Command Line
https://how2terminal.com
MIT License
5.72k stars 154 forks source link

[Windows] Crash after pressing space #112

Closed wip0 closed 1 year ago

wip0 commented 2 years ago

Hi, After how2 showing the result, I pressed SPACE to see more results. It showed a few seconds and crashed. Here is the stacktrace.

TypeError: Invalid Version: null at new SemVer (C:\Users\silve\AppData\Roaming\nvm\v16.14.2\node_modules\how-2\node_modules\semver\semver.js:279:11) at compare (C:\Users\silve\AppData\Roaming\nvm\v16.14.2\node_modules\how-2\node_modules\semver\semver.js:566:10) at Function.gt (C:\Users\silve\AppData\Roaming\nvm\v16.14.2\node_modules\how-2\node_modules\semver\semver.js:595:10) at C:\Users\silve\AppData\Roaming\nvm\v16.14.2\node_modules\how-2\lib\updates.js:15:19 at Request._callback (C:\Users\silve\AppData\Roaming\nvm\v16.14.2\node_modules\how-2\node_modules\npm-latest\lib\npm-latest.js:53:5) at Request.self.callback (C:\Users\silve\AppData\Roaming\nvm\v16.14.2\node_modules\how-2\node_modules\request\request.js:185:22) at Request.emit (node:events:526:28) at Request.<anonymous> (C:\Users\silve\AppData\Roaming\nvm\v16.14.2\node_modules\how-2\node_modules\request\request.js:1154:10) at Request.emit (node:events:526:28) at IncomingMessage.<anonymous> (C:\Users\silve\AppData\Roaming\nvm\v16.14.2\node_modules\how-2\node_modules\request\request.js:1076:12)

how2 version 1.8.2 - by Claudio Santini - Paolo Cifariell Windows: 10 node: v16.14.2