Skip to content

Deno / Node(Vite?) issue - Uncaught Error: EINVAL: invalid argument, stat #19067

@sortofsleepy

Description

@sortofsleepy

👋

Attempted to try to start a project today with create-vite-extra. Initially ran into an issue with esbuild that required an upgrade to Deno. However, after doing so, I am still having trouble.
It was suggested that I open the issue here so here I am.

The issue is essentially:

  • after running deno run -A npm:create-vite-extra
  • and going through the prompts, selecting one of the Deno templates
  • and finally running deno task dev

I get the following error

error: Uncaught Error: EINVAL: invalid argument, stat
    at __node_internal_captureLargerStackTrace (ext:deno_node/internal/errors.ts:89:11)
    at __node_internal_uvException (ext:deno_node/internal/errors.ts:182:12)
    at denoErrorToNodeError (ext:deno_node/internal/errors.ts:1826:16)
    at ext:deno_node/_fs/_fs_stat.ts:83:97
    at eventLoopTick (ext:core/01_core.js:181:11)
  • I am on Windows
  • Node is v18.16.0
  • Deno is
deno 1.33.2 (release, x86_64-pc-windows-msvc)
v8 11.4.183.1
typescript 5.0.3

Metadata

Metadata

Assignees

Labels

bugSomething isn't working correctly

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions