Hello, I got these errors when trying to search in the Stack Overflow site.
how2 select keys with jq -s
Searching StackOverflow...
\Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
Result title is undefined.
undefined
solution with inside check:
jq 'with_entries(select([.key] | inside(["key1", "key2"])))'
(https://stackoverflow.com/questions/29518137/jq-selecting-a-subset-of-keys-from-an-object/46293052#46293052)
Press SPACE for more choices, any other key to quit.
TypeError: Cannot read properties of undefined (reading 'getContent')
at List.add.List.addItem.List.appendItem (/usr/lib/node_modules/how2/node_modules/blessed/lib/widgets/list.js:297:61)
at List.setItems (/usr/lib/node_modules/how2/node_modules/blessed/lib/widgets/list.js:384:12)
at Object.showGoogleList (/usr/lib/node_modules/how2/lib/ui.js:71:14)
at onAfterInteractiveSearch (/usr/lib/node_modules/how2/lib/how2.js:109:6)
at interactiveMain (/usr/lib/node_modules/how2/lib/how2.js:168:5)
at ReadStream.onKeypress (/usr/lib/node_modules/how2/lib/how2.js:94:18)
at ReadStream.emit (node:events:513:28)
at emitKey (/usr/lib/node_modules/how2/node_modules/keypress/index.js:406:12)
at ReadStream.onData (/usr/lib/node_modules/how2/node_modules/keypress/index.js:48:14)
at ReadStream.emit (node:events:513:28)
Hello, I got these errors when trying to search in the Stack Overflow site.
Do you know how to resolve this issue?
Thanks