When using Windows PowerShell, the following commands are executed:
cd D:\TailwindCSS
cd gs3
npm run build
Output
[email protected] build D:\TailwindCSS\gs3
postcss ./src/tailwind.css -o ./public/tailwind.cssinternal/modules/run_main.js:54
internalBinding('errors').triggerUncaughtException( ^
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs
are supported by the default ESM loader
... at Loader.defaultResolve [as _resolve]
(internal/modules/esm/resolve.js:669:11)...
... at Loader.resolve
(internal/modules/esm/loader.js:97:40)...
... at Loader.getModuleJob
(internal/modules/esm/loader.js:243:28)...
... at ModuleWrap.
(internal/modules/esm/module_job.js:42:40)...
... at link (internal/modules/esm/module_job.js:41:36)... {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:postcss ./src/tailwind.css -o \ ./public/tailwind.css
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above. \npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\admin\AppData\Roaming\npm-
cache_logs\2021-12-01T04_42_15_907Z-debug.log