diff --git a/lib/internal/modules/run_main.js b/lib/internal/modules/run_main.js index ca401044c0178c..4ad694debfc72f 100644 --- a/lib/internal/modules/run_main.js +++ b/lib/internal/modules/run_main.js @@ -44,7 +44,6 @@ function resolveMainPath(main) { } catch (err) { if (defaultType === 'module' && err?.code === 'ENOENT') { const { decorateErrorWithCommonJSHints } = require('internal/modules/esm/resolve'); - const { getCWDURL } = require('internal/util'); decorateErrorWithCommonJSHints(err, mainPath, getCWDURL()); } throw err;