Comments (5)
same as #32
from nuxt3.
same as #32
and not a single response for a month
from nuxt3.
I have fixed this issue on my end. I had to append this into Vista's nuxt 3 plugin:
import { compileToFunction, registerMessageCompiler } from '@intlify/core-base'
registerMessageCompiler(compileToFunction)
from nuxt3.
Facing the same issue with the latest Nuxt 3 Version v3.0.0-27477342.43007c6. When I want to run the build I get the error: TypeError: messageCompiler is not a function
Config:
export default defineNuxtConfig({
buildModules: ["@intlify/nuxt3"],
intlify: {
vueI18n: {
locale: "en",
messages: {
en: {
hello: "Hello",
},
yes: {
hello: "こんにちは",
},
},
},
},
});
Has anyone found a solution yet?
from nuxt3.
I am also getting this error, trying to statically deploy a website. Also just running npx nuxi build && node .output/server/index.mjs
and I get this error.
from nuxt3.
Related Issues (20)
- How to make intlify read from 2 different directories?
- Access global property of i18n instance HOT 6
- [Question] How can I change locale programmatically ? HOT 6
- $t not accessible
- Inputs' dynamic attributes are translated in dev and SSR but not in SSG HOT 1
- Nuxt 3 Generate - The message format compilation is not supported in this build HOT 1
- How to use localePath() in middleware
- [nitro] [dev] [unhandledRejection] Error: nuxt instance unavailable HOT 1
- 18n can't be accessed from context but only from vue app
- translation in single file component <i18n></i18n> doesn't work HOT 2
- import json file affected by "intifly/nuxt3" module installation HOT 1
- Module does not provide an export named 'vueI18n' HOT 2
- __VUE_I18N__ is undefined in produciton mode HOT 1
- How to save the selected language? HOT 3
- configuration file (vue-i18n.mjs) not working anymore HOT 1
- Analyzing nuxt fails HOT 1
- Typescript error (ts2339) when using $t in template
- How do I access current language outside setup? (Especially from a plugin!)
- [vite-node] [ERR_INVALID_URL_SCHEME] /.nuxt/intlify.vuei18n.options.mjs HOT 1
- Not working with latest version of Node: The engine "node" is incompatible with this module... HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuxt3.