Error on new Mac
We have just set up a new Mac in the office and gulp notify is throwing the following error:
[18:10:45] gulp-notify: [Error in notifier] Error in plugin "gulp-notify"
[1] Message:
[1] 2019-02-20 18:10:35.319 terminal-notifier[1271:20496] isPrefsCreateCacheFromEnabledAndDefaultInputSources - can't find anything from GetInputSourceEnabledPrefs, use defaultASCIIKeyLayoutDict = <CFBasicHash 0x7fd3c674ba40 [0x7fff893dd8f0]>{type = mutable dict, count = 3,
[1] entries =>
[1] 0 : <CFString 0x7fff8944beb8 [0x7fff893dd8f0]>{contents = "InputSourceKind"} = <CFString 0x7fff894913f8 [0x7fff893dd8f0]>{contents = "Keyboard Layout"}
[1] 1 : <CFString 0x7fff8947d538 [0x7fff893dd8f0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x237 [0x7fff893dd8f0]>{value = +2, type = kCFNumberSInt64Type}
[1] 9 : <CFString 0x7fff89446bb8 [0x7fff893dd8f0]>{contents = "KeyboardLayout Name"} = British
[1] }
OS: Mojave 10.14.3. Gulp-notify: 3.2.0
Experiencing this same error under same conditions - new Mac.
Error is logged when a notification is completed (once the notification has hidden)
[16:24:17] gulp-notify: [Error in notifier] Error in plugin "gulp-notify"
Message:
2019-05-22 16:24:07.571 terminal-notifier[2249:424422] isPrefsCreateCacheFromEnabledAndDefaultInputSources - can't find anything from GetInputSourceEnabledPrefs, use defaultASCIIKeyLayoutDict = <CFBasicHash 0x7fb8dd615450 [0x7fff9682e8e0]>{type = mutable dict, count = 3,
entries =>
0 : <CFString 0x7fff96899818 [0x7fff9682e8e0]>{contents = "InputSourceKind"} = <CFString 0x7fff968ded58 [0x7fff9682e8e0]>{contents = "Keyboard Layout"}
1 : <CFString 0x7fff968cae98 [0x7fff9682e8e0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x237 [0x7fff9682e8e0]>{value = +2, type = kCFNumberSInt64Type}
9 : <CFString 0x7fff96894518 [0x7fff9682e8e0]>{contents = "KeyboardLayout Name"} = British
}
OS: Mojave 10.14.5 Gulp-notify: 3.2.0
I have exactly the same issue with a new mac
gulp-notify: [Error in notifier] Error in plugin "gulp-notify" Message: 2019-06-11 12:10:47.034 terminal-notifier[54859:1478464] isPrefsCreateCacheFromEnabledAndDefaultInputSources - can't find anything from GetInputSourceEnabledPrefs, use defaultASCIIKeyLayoutDict = <CFBasicHash 0x7fc9d5413ca0 [0x7fff8aea58e0]>{type = mutable dict, count = 3, entries => 0 : <CFString 0x7fff8af10818 [0x7fff8aea58e0]>{contents = "InputSourceKind"} = <CFString 0x7fff8af55d58 [0x7fff8aea58e0]>{contents = "Keyboard Layout"} 1 : <CFString 0x7fff8af41e98 [0x7fff8aea58e0]>{contents = "KeyboardLayout ID"} = <CFNumber 0x237 [0x7fff8aea58e0]>{value = +2, type = kCFNumberSInt64Type} 9 : <CFString 0x7fff8af0b518 [0x7fff8aea58e0]>{contents = "KeyboardLayout Name"} = British }
OS: Mojave 10.14.5 Gulp-notify: 3.2.0
I got the same error message using osascript, which potentially this does under the hood.
The issue was resolved by adding an extra keyboard. See https://stackoverflow.com/q/53603246/1265167 for more info.