NuxtI18n not starting
- Dominant language
- TypeScript
- Stars
- 204
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I've just installed "@intlify/nuxt3": "^0.1.2" with "nuxt3": "latest" and added the buildModules: ["@intlify/nuxt3"].
When I start Nuxt with npm run dev, I got an error:
(node:10922) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
Server Side Rendering Error: ./node_modules/@intlify/shared/dist/shared.esm-bundler.js:192
export { assign, createEmitter, escapeHtml, format, friendlyJSONstringify, generateCodeFrame, generateFormatCacheKey, getGlobalThis, hasOwn, inBrowser, isArray, isBoolean, isDate, isEmptyObject, isFunction, isNumber, isObject, isPlainObject, isPromise, isRegExp, isString, isSymbol, makeSymbol, mark, measure, objectToString, toDisplayString, toTypeString, warn };
I have the same problem when I copy the plugin code in plugin folder of nuxt and use vue-i18n-next
Thanks
JB
Contributor guide
Assessment
This issue has not been assessed yet.