Answer the question
In order to leave comments, you need to log in
__dirname is not defined?
Why if put type:module
in package.json.
Is __dirname not global?
How it is possible to correct it?
Answer the question
In order to leave comments, you need to log in
RTFM day of some
https://nodejs.org/dist/latest-v15.x/docs/api/esm....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question