Running PostCSS - ESM loader Error

Hi Bep, I downloaded a simple Hugo theme then tried to use PostCSS in a simple css file. I zipped it up and added it here…

The PostCSS call is being made in “themes/cleanwhite/layouts/partials/head.html” against “css/zanshang.css”

Still getting the same error, which leads me to think the problem is somewhere in my Ubuntu environment.

ERROR:-

Error: Error building site: POSTCSS: failed to transform “css/zanshang.css” (text/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’ }