Open k1r0s opened 5 days ago
Do you have a code snippet that we can rely on?
The failing error doesn't provide enough arguments: https://github.com/nodejs/node/blob/v18.20.4/lib/internal/modules/esm/resolve.js#L218
In node version v23.1
it works fine
I cannot reproduce:
$ node --version
v18.20.4
$ ln -s "$PWD/test/fixtures/empty.cjs" ./entry.js
$ node entry.js
$ echo $?
0
It looks like there's some other requirements for the issue to reproduce, which we would need to figure out so the issue can be investigated.
Version
v18.20.4
Platform
Subsystem
No response
What steps will reproduce the bug?
create a javascript file. Create a symbolic link run it
How often does it reproduce? Is there a required condition?
consistently, evertime
What is the expected behavior? Why is that the expected behavior?
node works as expected
What do you see instead?
an error
Additional information
No response