New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v8.0.0-beta.11 Cannot be used in deno deploy #1993
Comments
Wait - why is readdirp bundled into dist files? It is a chokidar dependency, and chokidar is a devDependency in nuxt. |
This also breaks serverless deployments currently where |
This change is introduced in #1938 |
|
This issue was fixed since |
Thanks! |
Environment
Note: This is my project configuration. The configuration causes this problem is installing
@nuxtjs/i18n
.Reproduction
https://github.com/so1ve/nuxt-process-versions-node-undefined-repro
Just create a fresh nuxt app with latest nuxt-i18n. Set
NITRO_PRESET
environment todeno
. Build this project, cd .output and rundeno run server/index.ts
.Stackblitz reproduction is not available because we need to use deno.
Describe the bug
It seems that some dependency of nuxt-i18n is using readdirp (I can check later), which includes the following code:
process.versions.node
is not shimed. So it becameundefined
.Additional context
Maybe this is an unenv issue?
Logs
No response
The text was updated successfully, but these errors were encountered: