postcss/postcss-cli

Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]:

lis29 opened this issue · 2 comments

lis29 commented
"postcss": "^8.4.5",
"postcss-cli": "^9.1.0",

postcss style.css --output output.css

internal/process/esm_loader.js:74
internalBinding('errors').triggerUncaughtException(
^

Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. Received protocol 'node:'
at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:751:11)
at Loader.resolve (internal/modules/esm/loader.js:85:40)
at Loader.getModuleJob (internal/modules/esm/loader.js:229:28)
at ModuleWrap. (internal/modules/esm/module_job.js:51:40)
at link (internal/modules/esm/module_job.js:50:36) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}

I have no idea where that is coming from; is that the full stack trace?

Closing for lack of reply