Skip to content

Conversation

@anlsh
Copy link

@anlsh anlsh commented Dec 14, 2025

The ubuntu system package appears to be broken / outdated somehow: when I try to run the yarn command in build.html

$ yarnpkg --cwd vendor/adevtool/ install
node:internal/modules/cjs/loader:1424
  throw err;
  ^

Error: Cannot find module '@babel/runtime/helpers/interopRequireDefault'
Require stack:
- /usr/share/nodejs/yarn/lib/cli/index.js
- /usr/share/nodejs/yarn/bin/yarn.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1421:15)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1059:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1064:22)
    at Module._load (node:internal/modules/cjs/loader:1227:37)
    at TracingChannel.traceSync (node:diagnostics_channel:328:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
    at Module.require (node:internal/modules/cjs/loader:1504:12)
    at require (node:internal/modules/helpers:152:16)
    at Object.<anonymous> (/usr/share/nodejs/yarn/lib/cli/index.js:3:30)
    at Module._compile (node:internal/modules/cjs/loader:1761:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/share/nodejs/yarn/lib/cli/index.js',
    '/usr/share/nodejs/yarn/bin/yarn.js'
  ]
}

Node.js v24.11.1

It seems like the npm version of the utility fixes this, so recommend that.

Note: perhaps the installation instructions should simply always recommend installing the package via npm?

The ubuntu system package appears to be broken / outdated somehow: when
I try to run the yarn command in build.html

```
$ yarnpkg --cwd vendor/adevtool/ install
node:internal/modules/cjs/loader:1424
  throw err;
  ^

Error: Cannot find module '@babel/runtime/helpers/interopRequireDefault'
Require stack:
- /usr/share/nodejs/yarn/lib/cli/index.js
- /usr/share/nodejs/yarn/bin/yarn.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1421:15)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1059:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1064:22)
    at Module._load (node:internal/modules/cjs/loader:1227:37)
    at TracingChannel.traceSync (node:diagnostics_channel:328:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
    at Module.require (node:internal/modules/cjs/loader:1504:12)
    at require (node:internal/modules/helpers:152:16)
    at Object.<anonymous> (/usr/share/nodejs/yarn/lib/cli/index.js:3:30)
    at Module._compile (node:internal/modules/cjs/loader:1761:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/share/nodejs/yarn/lib/cli/index.js',
    '/usr/share/nodejs/yarn/bin/yarn.js'
  ]
}

Node.js v24.11.1
```

It seems like the `npm` version of the utility fixes this, so recommend
that.

Note: perhaps the installation instructions should simply always
recommend installing the package via npm?
@thestinger thestinger force-pushed the main branch 2 times, most recently from 2118467 to 7e60dbd Compare December 15, 2025 07:15
@thestinger thestinger force-pushed the main branch 7 times, most recently from d97c2bd to 029d722 Compare December 24, 2025 19:10
@thestinger thestinger force-pushed the main branch 7 times, most recently from 78d5bc2 to bf9dbac Compare January 10, 2026 03:33
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

Successfully merging this pull request may close these issues.

1 participant