Repository navigation
SyntaxError: The requested module 'process' does not provide an export named 'report' #41774
Copy link
Copy link
Closed
Labels
esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.
Description
Activity
- addeddocIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.
on Jan 30, 2022 - addedesmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.
on Jan 30, 2022 Hey I wanna work on this could someone tell me what should i have to do @Mesteery
node/lib/internal/bootstrap/pre_execution.js
Line 176 in 253f934
enumerable: false,
@dollar22 You should setenumerabletotrueinstead offalsehere.- removeddocIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.
on Jan 30, 2022 @Mesteery I changed it to true but when I run ./configure && make -j4 test to test lots of error comes
Details
Path: parallel/test-policy-integrity-flag node:assert:170 throw err; ^ AssertionError [ERR_ASSERTION]: This test shouldn't load properties from a package.json above its file location. Found package.json at /home/lenovo/package.json. at Proxy.requireNoPackageJSONAbove (/home/lenovo/Desktop/node/node/test/common/index.js:747:14) at Object.<anonymous> (/home/lenovo/Desktop/node/node/test/parallel/test-policy-integrity-flag.js:6:8) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: undefined, operator: 'fail' } Node.js v18.0.0-pre Command: out/Release/node /home/lenovo/Desktop/node/node/test/parallel/test-policy-integrity-flag.js === release test-policy-parse-integrity === Path: parallel/test-policy-parse-integrity node:assert:170 throw err; ^ AssertionError [ERR_ASSERTION]: This test shouldn't load properties from a package.json above its file location. Found package.json at /home/lenovo/package.json. at Proxy.requireNoPackageJSONAbove (/home/lenovo/Desktop/node/node/test/common/index.js:747:14) at Object.<anonymous> (/home/lenovo/Desktop/node/node/test/parallel/test-policy-parse-integrity.js:5:8) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: undefined, operator: 'fail' } Node.js v18.0.0-pre Command: out/Release/node /home/lenovo/Desktop/node/node/test/parallel/test-policy-parse-integrity.js === release test-policy-crypto-default-encoding === Path: parallel/test-policy-crypto-default-encoding node:assert:170 throw err; ^ AssertionError [ERR_ASSERTION]: This test shouldn't load properties from a package.json above its file location. Found package.json at /home/lenovo/package.json. at Proxy.requireNoPackageJSONAbove (/home/lenovo/Desktop/node/node/test/common/index.js:747:14) at Object.<anonymous> (/home/lenovo/Desktop/node/node/test/parallel/test-policy-crypto-default-encoding.js:6:8) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: undefined, operator: 'fail' } Node.js v18.0.0-pre Command: out/Release/node /home/lenovo/Desktop/node/node/test/parallel/test-policy-crypto-default-encoding.js === release test-policy-manifest === Path: parallel/test-policy-manifest node:assert:170 throw err; ^ AssertionError [ERR_ASSERTION]: This test shouldn't load properties from a package.json above its file location. Found package.json at /home/lenovo/package.json. at Proxy.requireNoPackageJSONAbove (/home/lenovo/Desktop/node/node/test/common/index.js:747:14) at Object.<anonymous> (/home/lenovo/Desktop/node/node/test/parallel/test-policy-manifest.js:8:8) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: undefined, operator: 'fail' } Node.js v18.0.0-pre Command: out/Release/node /home/lenovo/Desktop/node/node/test/parallel/test-policy-manifest.js === release test-policy-dependency-conditions === Path: parallel/test-policy-dependency-conditions node:assert:170 throw err; ^ AssertionError [ERR_ASSERTION]: This test shouldn't load properties from a package.json above its file location. Found package.json at /home/lenovo/package.json. at Proxy.requireNoPackageJSONAbove (/home/lenovo/Desktop/node/node/test/common/index.js:747:14) at Object.<anonymous> (/home/lenovo/Desktop/node/node/test/parallel/test-policy-dependency-conditions.js:7:8) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: undefined, operator: 'fail' } Node.js v18.0.0-pre Command: out/Release/node --expose-internals /home/lenovo/Desktop/node/node/test/parallel/test-policy-dependency-conditions.js === release test-policy-dependencies === Path: parallel/test-policy-dependencies node:assert:170 throw err; ^ AssertionError [ERR_ASSERTION]: This test shouldn't load properties from a package.json above its file location. Found package.json at /home/lenovo/package.json. at Proxy.requireNoPackageJSONAbove (/home/lenovo/Desktop/node/node/test/common/index.js:747:14) at Object.<anonymous> (/home/lenovo/Desktop/node/node/test/parallel/test-policy-dependencies.js:6:8) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: undefined, operator: 'fail' } Node.js v18.0.0-pre Command: out/Release/node /home/lenovo/Desktop/node/node/test/parallel/test-policy-dependencies.js === release test-policy-scopes === Path: parallel/test-policy-scopes node:assert:170 throw err; ^ AssertionError [ERR_ASSERTION]: This test shouldn't load properties from a package.json above its file location. Found package.json at /home/lenovo/package.json. at Proxy.requireNoPackageJSONAbove (/home/lenovo/Desktop/node/node/test/common/index.js:747:14) at Object.<anonymous> (/home/lenovo/Desktop/node/node/test/parallel/test-policy-scopes.js:6:8) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: undefined, operator: 'fail' } Node.js v18.0.0-pre Command: out/Release/node /home/lenovo/Desktop/node/node/test/parallel/test-policy-scopes.js === release test-policy-scopes-dependencies === Path: parallel/test-policy-scopes-dependencies node:assert:170 throw err; ^ AssertionError [ERR_ASSERTION]: This test shouldn't load properties from a package.json above its file location. Found package.json at /home/lenovo/package.json. at Proxy.requireNoPackageJSONAbove (/home/lenovo/Desktop/node/node/test/common/index.js:747:14) at Object.<anonymous> (/home/lenovo/Desktop/node/node/test/parallel/test-policy-scopes-dependencies.js:7:8) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: undefined, operator: 'fail' } Node.js v18.0.0-pre Command: out/Release/node --expose-internals /home/lenovo/Desktop/node/node/test/parallel/test-policy-scopes-dependencies.js === release test-policy-scopes-integrity === Path: parallel/test-policy-scopes-integrity node:assert:170 throw err; ^ AssertionError [ERR_ASSERTION]: This test shouldn't load properties from a package.json above its file location. Found package.json at /home/lenovo/package.json. at Proxy.requireNoPackageJSONAbove (/home/lenovo/Desktop/node/node/test/common/index.js:747:14) at Object.<anonymous> (/home/lenovo/Desktop/node/node/test/parallel/test-policy-scopes-integrity.js:7:8) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: undefined, operator: 'fail' } Node.js v18.0.0-pre Command: out/Release/node --expose-internals /home/lenovo/Desktop/node/node/test/parallel/test-policy-scopes-integrity.js === release test_policy === Path: node-api/test_policy/test_policy node:internal/policy/manifest:67 throw error; ^ Error [ERR_MANIFEST_ASSERT_INTEGRITY]: The content of "file:///home/lenovo/package.json" does not match the expected integrity. The resource was not found in the policy. at new NodeError (node:internal/errors:371:5) at Manifest.assertIntegrity (node:internal/policy/manifest:593:19) at Object.read (node:internal/modules/package_json_reader:34:16) at readPackage (node:internal/modules/cjs/loader:296:36) at readPackageScope (node:internal/modules/cjs/loader:329:19) at shouldUseESMLoader (node:internal/modules/run_main:43:15) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:72:24) at node:internal/main/run_main_module:17:47 { code: 'ERR_MANIFEST_ASSERT_INTEGRITY' } Node.js v18.0.0-pre node:assert:123 throw new AssertionError(obj); ^ AssertionError [ERR_ASSERTION]: Expected values to be strictly equal: 1 !== 0 at test (/home/lenovo/Desktop/node/node/test/node-api/test_policy/test_policy.js:54:12) at Object.<anonymous> (/home/lenovo/Desktop/node/node/test/node-api/test_policy/test_policy.js:58:1) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { generatedMessage: true, code: 'ERR_ASSERTION', actual: 1, expected: 0, operator: 'strictEqual' } Node.js v18.0.0-pre Command: out/Release/node /home/lenovo/Desktop/node/node/test/node-api/test_policy/test_policy.js [04:59|% 100|+ 3499|- 10]: Done make[1]: *** [Makefile:285: jstest] Error 1 make: *** [Makefile:311: test] Error 2- added a commit that references this issue
on Jan 31, 2022 /cc @nodejs/process
- added 4 commits that reference this issue
on Apr 21, 2022 - added a commit that references this issue
on Apr 25, 2022 - added a commit that references this issue
on May 22, 2026
Metadata
Metadata
Assignees
Labels
esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.
Affected URL(s)
https://nodejs.org/api/process.html#processreport
Description of the problem
yields:
The process module seems not to be fully esm ready?
node --version
v17.4.0