Skip to content

Warning when running cctest of nodejs #46647

Closed as not planned
Closed as not planned
@ArchanaWind

Description

@ArchanaWind

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions