[Pkg-javascript-devel] Bug#933229: yarnpkg: Cannot find module 'babel-runtime/helper/asyncToGenerator'

Christoph Schulz opayq-debbugs at criztovyl.space
Sat Jul 27 21:18:56 BST 2019


Package: yarnpkg
Version: 1.13.0-1
Severity: grave
Justification: renders package unusable


Dear Maintainer,

it seems like the yarnpkg executable is broken somehow.

Please see below for the full error. I will resort to the installation method
from the yarn site for now. [1]

I have installed nodejs from nodesource[2], that could be related to the issue.

Kind Regards,
Christoph

[1] https://yarnpkg.com/en/docs/install/#debian-stable
[2] https://github.com/nodesource/distributions/blob/master/README.md#debmanual

$ yarnpkg
internal/modules/cjs/loader.js:628
    throw err;
    ^

Error: Cannot find module 'babel-runtime/helpers/asyncToGenerator'
Require stack:
- /usr/lib/nodejs/yarn/lib/cli/index.js
- /usr/lib/nodejs/yarn/bin/yarn.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:625:15)
    at Function.Module._load (internal/modules/cjs/loader.js:527:27)
    at Module.require (internal/modules/cjs/loader.js:683:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at _load_asyncToGenerator (/usr/lib/nodejs/yarn/lib/cli/index.js:11:54)
    at /usr/lib/nodejs/yarn/lib/cli/index.js:15:41
    at Object.<anonymous> (/usr/lib/nodejs/yarn/lib/cli/index.js:574:3)
    at Module._compile (internal/modules/cjs/loader.js:777:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:788:10)
    at Module.load (internal/modules/cjs/loader.js:643:32) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/lib/nodejs/yarn/lib/cli/index.js',
    '/usr/lib/nodejs/yarn/bin/yarn.js'
  ]
}


-#- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages yarnpkg depends on:
ii  node-asap                          2.0.6-1
ii  node-babel-runtime                 6.26.0+dfsg-3
ii  node-bytes                         3.0.0-1
ii  node-camelcase                     5.0.0-1
ii  node-chalk                         2.3.0-2
ii  node-chownr                        1.1.1-1
ii  node-ci-info                       1.1.2-1
ii  node-cli-table                     0.3.1-1
ii  node-commander                     2.12.2-3
ii  node-death                         1.0.0-1
ii  node-debug                         3.1.0-2
ii  node-deep-equal                    1.0.1-1
ii  node-detect-indent                 5.0.0-1
ii  node-duplexify                     3.6.1-1
ii  node-emoji                         1.8.1-1
ii  node-fast-levenshtein              2.0.5-1
ii  node-glob                          7.1.3-2
ii  node-imports-loader                0.7.1-1
ii  node-ini                           1.3.5-1
ii  node-inquirer                      3.3.0-2
ii  node-invariant                     2.2.2-1
ii  node-is-builtin-module             2.0.0-1
ii  node-loud-rejection                1.6.0-1
ii  node-micromatch                    2.3.11-1
ii  node-minimatch                     3.0.4-3
ii  node-mkdirp                        0.5.1-1
ii  node-node-uuid                     3.3.2-2
ii  node-object-path                   0.11.4-2
ii  node-proper-lockfile               2.0.1-1
ii  node-puka                          1.0.0+dfsg-1
ii  node-pump                          3.0.0-1
ii  node-pumpify                       1.5.1-1
ii  node-read                          1.0.7-1
ii  node-request                       2.88.1-2
ii  node-request-capture-har           1.2.2-1
ii  node-resolve                       1.5.0-1
ii  node-rimraf                        2.6.2-1
ii  node-semver                        5.5.1-1
ii  node-ssri                          5.2.4-2
ii  node-strip-ansi                    4.0.0-1
ii  node-strip-bom                     3.0.0-1
ii  node-tar-stream                    1.5.2-1
ii  node-validate-npm-package-license  3.0.1-1
ii  node-yn                            3.0.0-1
ii  nodejs                             12.7.0-1nodesource1

yarnpkg recommends no packages.

yarnpkg suggests no packages.

-- no debconf information



More information about the Pkg-javascript-devel mailing list