Skip to content

Erbium: test regression in tarball #32765

@ArchangeGabriel

Description

@ArchangeGabriel
  • Version: 12.6.2
  • Platform: Linux

What steps will reproduce the bug?

curl -O "https://nodejs.org/dist/v12.6.2/node-v12.6.2.tar.xz"
tar xf node-v12.6.2.tar.xz
cd node-v12.6.2
./configure
make
make tests

How often does it reproduce? Is there a required condition?

Always.

What is the expected behavior?

Tests suite runs fine.

What do you see instead?

make -s test-doc
Linting is not available through the source tarball.
Use the git repo instead: git clone https://github.com/nodejs/node.git
added 105 packages in 1.477s
internal/modules/cjs/loader.js:983
  throw err;
  ^

Error: Cannot find module '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/../node_modules/eslint/node_modules/js-yaml'
Require stack:
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js:4:3)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js'
  ]
}
internal/modules/cjs/loader.js:983
  throw err;
  ^

Error: Cannot find module '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/../node_modules/eslint/node_modules/js-yaml'
Require stack:
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js:4:3)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js'
  ]
}
make[2]: *** [Makefile:757: out/doc/api/async_hooks.html] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:757: out/doc/api/addons.html] Error 1
internal/modules/cjs/loader.js:983
  throw err;
  ^

Error: Cannot find module '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/../node_modules/eslint/node_modules/js-yaml'
Require stack:
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js:4:3)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js'
  ]
}
make[2]: *** [Makefile:757: out/doc/api/assert.html] Error 1
internal/modules/cjs/loader.js:983
  throw err;
  ^

Error: Cannot find module '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/../node_modules/eslint/node_modules/js-yaml'
Require stack:
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js:4:3)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js'
  ]
}
make[2]: *** [Makefile:757: out/doc/api/child_process.html] Error 1
internal/modules/cjs/loader.js:983
  throw err;
  ^

Error: Cannot find module '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/../node_modules/eslint/node_modules/js-yaml'
Require stack:
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js:4:3)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js'
  ]
}
make[2]: *** [Makefile:757: out/doc/api/buffer.html] Error 1
internal/modules/cjs/loader.js:983
  throw err;
  ^

Error: Cannot find module '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/../node_modules/eslint/node_modules/js-yaml'
Require stack:
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js:4:3)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js'
  ]
}
make[2]: *** [Makefile:757: out/doc/api/cli.html] Error 1
internal/modules/cjs/loader.js:983
  throw err;
  ^

Error: Cannot find module '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/../node_modules/eslint/node_modules/js-yaml'
Require stack:
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js:4:3)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js'
  ]
}
make[2]: *** [Makefile:757: out/doc/api/cluster.html] Error 1
internal/modules/cjs/loader.js:983
  throw err;
  ^

Error: Cannot find module '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/../node_modules/eslint/node_modules/js-yaml'
Require stack:
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js:4:3)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js'
  ]
}
make[2]: *** [Makefile:757: out/doc/api/console.html] Error 1
internal/modules/cjs/loader.js:983
  throw err;
  ^

Error: Cannot find module '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/../node_modules/eslint/node_modules/js-yaml'
Require stack:
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js
- /build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
    at Function.Module._load (internal/modules/cjs/loader.js:862:27)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js:4:3)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/common.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/html.js',
    '/build/nodejs-lts-erbium/src/node-v12.16.2/tools/doc/generate.js'
  ]
}

Additional information

Seems to me as a regression of the fixed #7201. But I don’t know node enough to assess that with certainty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.releaseIssues and PRs related to Node.js releases.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions