Description
Version
16.18.1 & 18.12.1
Platform
Linux, 15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
$ ./configure
$ make -j4 test
will get below warning:
[----------] 19 tests from EnvironmentTest
[ RUN ] EnvironmentTest.EnvironmentWithESMLoader
(node:15120) ExperimentalWarning: VM Modules is an experimental feature. This feature could change at any time
(Use node --trace-warnings ...
to show where the warning was created)
$ node --trace-warnings ...
node:internal/modules/cjs/loader:988
throw err;
^
Error: Cannot find module '/opt/wr-test/...'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
at Function.Module._load (node:internal/modules/cjs/loader:833:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:22:47
{ code: 'MODULE_NOT_FOUND', requireStack: [] }
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior?
No response
What do you see instead?
[----------] 19 tests from EnvironmentTest
[ RUN ] EnvironmentTest.EnvironmentWithESMLoader
(node:15120) ExperimentalWarning: VM Modules is an experimental feature. This feature could change at any time
(Use node --trace-warnings ...
to show where the warning was created)
$ node --trace-warnings ...
node:internal/modules/cjs/loader:988
throw err;
^
Error: Cannot find module '/opt/wr-test/...'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
at Function.Module._load (node:internal/modules/cjs/loader:833:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:22:47
{ code: 'MODULE_NOT_FOUND', requireStack: [] }
Additional information
No response