Skip to content

When using vite, error occurs #8526

Closed as not planned
Closed as not planned
@lj05117

Description

@lj05117

Describe the bug

When using vite, if you use node version 20.18.1 (lts), an error like the picture occurs.


The error is resolved when using node version (20.5.0).

Image

Your minimal, reproducible example

webstorm

Steps to reproduce

  1. Change the settings to vite in a project that was running well with existing webpack.
  2. Change to node 20.18.1 (lts) version.
    (3. Add "type": "module" to the package.json file) - Same result even if not set.
  3. yarn install
  4. yarn local (error occurs immediately after completion of execution)

Expected behavior

Runs yarn local without stopping upon completion

How often does this bug happen?

Only once

Screenshots or Videos

sorry.
Videos cannot be uploaded because company project information may be exposed.

Platform

OS : macOS


Browser : Chrome

Tanstack Query adapter

vue-query

TanStack Query version

^5.13.4

TypeScript version

~4.5.5

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions