moos/wordpos

yarn v2 found a bug: line.substring is not a function

cekvenich opened this issue · 0 comments

TypeError: line.substring is not a function
at BufferedReader. (/home/vic/Documents/GitHub/mbCLIx/src/.yarn/unplugged/wordpos-npm-1.2.0-031b04010c/node_modules/wordpos/tools/stat.js:92:22)
at BufferedReader.emit (events.js:219:5)
at PassThrough. (/home/vic/Documents/GitHub/mbCLIx/src/.yarn/unplugged/wordpos-npm-1.2.0-031b04010c/node_modules/wordpos/tools/buffered-reader.js:148:10)
at PassThrough.emit (events.js:219:5)
at endReadableNT (_stream_readable.js:1206:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
at runNextTicks (internal/process/task_queues.js:66:3)
at processImmediate (internal/timers.js:417:9)

This file contains the result of Yarn building a package (wordpos@npm:1.2.0)

Script name: postinstall

DB folder: /home/vic/Documents/GitHub/mbCLIx/src/.yarn/cache/wordnet-db-npm-3.1.14-62a7238db5-1.zip/node_modules/wordnet-db/dict
/home/vic/Documents/GitHub/mbCLIx/src/.yarn/unplugged/wordpos-npm-1.2.0-031b04010c/node_modules/wordpos/tools/stat.js:92
var key = line.substring(0, Math.min(line.indexOf(' '), KEY_LENGTH));
^