Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Bug: Some channels won't load with TypeError [ERR_INVALID_ARG_TYPE] #81

Open
briankendall opened this issue Jan 9, 2019 · 0 comments
Open

Comments

@briankendall
Copy link

Sometimes I will try to view channels and it will sit there with the spinning "loading" icon forever. The error message that gets printed to the console is:

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be one of type string, TypedArray, or DataView. Received type undefined
    at Hash.update (internal/crypto/hash.js:58:11)
    at sha1sum (/Applications/Wey.app/Contents/MacOS/Wey/asar/lib/controller/image-store.js:1:1367)
    at ImageStore.imagePathFromUrl (/Applications/Wey.app/Contents/MacOS/Wey/asar/lib/controller/image-store.js:1:478)
    at ImageStore.isImageCached (/Applications/Wey.app/Contents/MacOS/Wey/asar/lib/controller/image-store.js:1:429)
    at new SlackFile (/Applications/Wey.app/Contents/MacOS/Wey/asar/lib/service/slack/slack-file.js:1:396)
    at SlackMessage.s.files.files.s.files.map.s (/Applications/Wey.app/Contents/MacOS/Wey/asar/lib/service/slack/slack-message.js:1:652)
    at Array.map (<anonymous>)
    at new SlackMessage (/Applications/Wey.app/Contents/MacOS/Wey/asar/lib/service/slack/slack-message.js:1:645)
    at e.reverse.map.s (/Applications/Wey.app/Contents/MacOS/Wey/asar/lib/service/slack/slack-channel.js:1:1330)
    at Array.map (<anonymous>)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant