TypeError: Cannot read properties of null (reading 'length')
File "D:\Projects\keyman\app\developer\src\kmc-model\src\build-trie.ts", line 502, in detectEncoding
if(buffer.length < 2) {
File "D:\Projects\keyman\app\developer\src\kmc-model\src\build-trie.ts", line 172, in WordListFromFilename.lines
const contents = new TextDecoder(detectEncoding(data)).decode(data);
File "D:\Projects\keyman\app\developer\src\kmc-model\src\build-trie.ts", line 95, in _parseWordList
for (let [lineno, line] of source.lines()) {
File "D:\Projects\keyman\app\developer\src\kmc-model\src\build-trie.ts", line 49, in parseWordListFromFilename
_parseWordList(wordlist, new WordListFromFilename(filename));
File "D:\Projects\keyman\app\developer\src\kmc-model\src\build-trie.ts", line 30, in <anonymous>
filenames.forEach(filename => parseWordListFromFilename(wordlist, filename));
...
(5 additional frame(s) were not displayed)
This arises when we have a .model.ts that references a missing .tsv file.
Sentry Issue: KEYMAN-DEVELOPER-294
This arises when we have a .model.ts that references a missing .tsv file.