sindresorhus / emoj

Find relevant emoji from text on the command-line :open_mouth: :sparkles: :raised_hands: :horse: :boom: :see_no_evil:
MIT License
2.36k stars 57 forks source link

2.0.0 fails with RequestError: certificate has expired #33

Closed doque closed 5 years ago

doque commented 6 years ago

Latest version (2.0.0) is broken:

➜  ~ emoj horse                                                                                                                                                                        09:26:15
RequestError: certificate has expired
    at ClientRequest.req.once.err (/Users/dbus/.nvm/versions/node/v8.8.1/lib/node_modules/emoj/node_modules/got/index.js:111:21)
    at Object.onceWrapper (events.js:314:30)
    at emitOne (events.js:115:13)
    at ClientRequest.emit (events.js:210:7)
    at TLSSocket.socketErrorListener (_http_client.js:385:9)
    at emitOne (events.js:115:13)
    at TLSSocket.emit (events.js:210:7)
    at emitErrorNT (internal/streams/destroy.js:64:8)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

The certificate for https://emoji.getdango.com/api/emoji seems to be invalid.

sindresorhus commented 5 years ago

Duplicate of #31