yarn test and yarn lint resulting in error

Created on 28 September 2021, over 3 years ago
Updated 9 February 2025, 2 months ago

Problem/Motivation

$ yarn test
node:fs:2650
      const dev = BigIntPrototypeToString(stats.dev, 32);
                  ^

TypeError: BigInt.prototype.toString requires that 'this' be a BigInt
    at Number.toString (<anonymous>)
    at gotStat (node:fs:2650:19)
    at a11y_autocomplete/.pnp.js:14006:13

and

$ yarn lint
node:fs:2650
      const dev = BigIntPrototypeToString(stats.dev, 32);
                  ^

TypeError: BigInt.prototype.toString requires that 'this' be a BigInt
    at Number.toString (<anonymous>)
    at gotStat (node:fs:2650:19)
    at a11y_autocomplete/.pnp.js:14006:13

I'm on MacOS 11.6 and I'm running yarn 2.4.2 on node 16.10.0.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Component

Code

Created by

🇫🇮Finland lauriii Finland

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024