hi, I'm getting this error on windows, after installing "@intlify/nuxt3": "^0.1.8" package
I tried on a fresh project on Stackblitz, and there is no problem there.
I'm running windows 11 Version 21H2, Node v14.17.3, and getting the errors with the same setup that Stackblitz
WARN [worker] Named export 'provider' not found. The requested module 'std-env' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'std-env';
const { provider, isWindows } = pkg;
import { provider, isWindows } from 'std-env';
^^^^^^^^
SyntaxError: Named export 'provider' not found. The requested module 'std-env' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'std-env';
const { provider, isWindows } = pkg;
at ModuleJob._instantiate (internal/modules/esm/module_job.js:120:21)
at async ModuleJob.run (internal/modules/esm/module_job.js:165:5)
at async Loader.import (internal/modules/esm/loader.js:177:24)
at async Object.loadESM (internal/process/esm_loader.js:68:5)
hi, I'm getting this error on windows, after installing
"@intlify/nuxt3": "^0.1.8"
packageI tried on a fresh project on Stackblitz, and there is no problem there.
I'm running windows 11 Version 21H2, Node v14.17.3, and getting the errors with the same setup that Stackblitz
Thanks for the amazing work.