postcss / postcss-cli

CLI for postcss
Other
824 stars 93 forks source link

Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: #420

Closed lis29 closed 2 years ago

lis29 commented 2 years ago
"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' }

RyanZim commented 2 years ago

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

RyanZim commented 2 years ago

Closing for lack of reply