mirror of
https://github.com/denoland/deno.git
synced 2024-12-19 05:45:09 -05:00
8 lines
218 B
Text
8 lines
218 B
Text
|
error: Uncaught (in promise) ReferenceError: __dirname is not defined
|
||
|
__dirname;
|
||
|
^
|
||
|
at [WILDCARD]dirname.js:1:1
|
||
|
|
||
|
info: __dirname global is not available in ES modules.
|
||
|
hint: Use import.meta.dirname instead.
|