Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cekvenich opened this issue Jan 25, 2020 · 0 comments
Open

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

cekvenich opened this issue Jan 25, 2020 · 0 comments

Comments

@cekvenich
Copy link

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));
^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant