Closed shrpne closed 1 month ago
Thanks for reporting this issue, you're right it looks like we need to update deps in @intlify/h3
and publish a release.
In the meantime I think you can work around this issue by adding the following resolutions override to your package.json
. You may need to refresh lockfiles for this to take effect.
"resolutions": {
"@intlify/core": "^10"
},
I managed to pin versions on npm with
"overrides": {
"@intlify/h3": {
"@intlify/core": "^10"
},
"@intlify/bundle-utils": {
"@intlify/message-compiler": "^10"
}
}
Ah sorry, resolutions
is specific to pnpm
, just setting the one override seems to be sufficient in my testing.
"overrides": {
"@intlify/h3": {
"@intlify/core-base": "^10.0.3"
}
},
This issue should get resolved once https://github.com/intlify/h3/pull/35 is merged, released (and updated in this module).
Environment
Darwin
v20.17.0
3.13.2
3.14.0
2.9.7
npm@10.8.2
-
-
-
-
Reproduction
On the local environment and on the stackblitz I have different errors, but both envs not working for me
On stackblitz I have
Pre-transform error: compiler is null (x2)
https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-rt9kda?file=i18n%2Fi18n.config.tsOn the local I have
Describe the bug
v9 rc1 not run
Additional context
npm list @intlify/shared
givesprobably the issue with intlify/h3 which requires intlify/shared@9
Logs
No response