Closed Stanzilla closed 3 years ago
Error is Uncaught TypeError: err is not a function
at this line https://github.com/WeakAuras/WeakAuras-Companion/blob/e36b18d0b20d8e078eccc8dde997f9831a4ecf3d/src/components/libs/utilities.js#L59
Error is
Uncaught TypeError: err is not a function
at this line https://github.com/WeakAuras/WeakAuras-Companion/blob/e36b18d0b20d8e078eccc8dde997f9831a4ecf3d/src/components/libs/utilities.js#L59
I think the error comes from the fact that err
is re-assigned. The second argument of the promise should be reject
and not err
. We re-reference with the err
of the fs
call. I think you could rename the second argument of the promise reject
and reject the promise instead of done(false)
.
I don't understand how we regressed on this one ?
Issue happen when you don't have Plater or WeakAuras installed
Ha right it was the fix that created the addon folder if you didn't have it. Thanks!
Operating System:
Companion Version:
Companion App Console Log:
WeakAuras Version:
WeakAuras Errors:
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior The initial check on app start does not find aura updates, manually pressing refresh does
Screenshots If applicable, add screenshots to help explain your problem.
Include a .zip file containing:
%programfiles%\World of Warcraft\_retail_\WTF\Account\<AccountName>\SavedVariables\WeakAuras.lua
AND%appdata%\weakauras-companion\config.json