Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Invalid types when using Deno #35248

Description

@BlueskyFR

Environment

Nuxt project info:

Operating system Linux 7.0.8
CPU Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz (12 cores)
Node.js version v24.14.1
nuxt/cli version 3.35.2
Package manager deno@deno 2.6.10 (stable, release, x86_64-unknown-linux-gnu) v8 14.5.201.2-rusty typescript 5.9.2
Nuxt version 4.4.6
Nitro version 2.13.4
Builder [email protected]
Config app, colorMode, compatibilityDate, css, devtools, hub, mcp, modules, nitro, runtimeConfig, shadcn, typescript, veeValidate, vite
Modules @nuxt/[email protected], @nuxtjs/[email protected], @vueuse/[email protected], [email protected], @nuxthub/[email protected], [email protected], @nuxtjs/[email protected], @vee-validate/[email protected], @nuxt/[email protected]

Reproduction

In the generated nitro-imports.d.ts when the project is managed by Deno:

Image

Describe the bug

Unable to load a local module: file:///home/.../node_modules/@nuxthub/db
Please check the file path.

Note: the mentionned path DOES exist, but Deno probably doesn't allow referencing just a directory having a package.json among the files listed there.

Additional context

I can provide other elements if needed, this issue seemed very obvious and it poses big problems during dev.

Logs

Metadata

Metadata

Assignees

Labels

nitroNitro server engine integrationupstreamIssue caused by a dependency or upstream project

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions