const __direname=path.dirname(fileURLToPath(import.meta.url))
^^^^
SyntaxError: Cannot use ‘import.meta’ outside a module
const __direname=path.dirname(fileURLToPath(import.meta.url))
^^^^
SyntaxError: Cannot use ‘import.meta’ outside a module
const __direname=path.dirname(fileURLToPath(import.meta.url))
^^^^
SyntaxError: Cannot use ‘import.meta’ outside a module
fekry bahaa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.