You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a duplicate of #2472. this function is implemented completely incorrect in terms of what node and the browser does an the linked issue is about fixing it.
What version of Bun is running?
1.0.26+c75e768a6
What platform is your computer?
Linux 5.15.133.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
Using
import.meta.resolve
orimport.meta.resolveSync
for a module which does not exist will throw an error.What is the expected behavior?
I expect the behavior/ implementation of
import.meta.resolve
to be compatible with the specification, and make no attempt to access the path.What do you see instead?
import.meta.resolve
throws an error instead.Additional information
My goal is to determine the path of a file which does not yet exist and to write some asset to it.
The text was updated successfully, but these errors were encountered: