Skip to content

[Windows] Unable to load script with relative path (../../scripts/getViteAliases.js) #9053

Closed
@novice0840

Description

@novice0840

Describe the bug

This is not problem for people using Tanstack-query. This is a bug for only people who want to contribute to the library and use Windows.

Every root.*.config.js file is written like this ../../scripts/getViteAliases.js. This kind of grammar isn't work in Windows. It works only in Mac OS. So, Windows user cannot excute test.

Your minimal, reproducible example

This bug happens in only Windows. So reproducible example would not be helpful

Steps to reproduce

  1. pnpm install
  2. npx nx run @tanstack/query-core:test:lib

Expected behavior

I expected all tests would work well in every OS. But It worked only in Mac OS

How often does this bug happen?

None

Screenshots or Videos

Image

Platform

OS: [Windows 11]

Tanstack Query adapter

None

TanStack Query version

"name": "@tanstack/query-core", "version": "5.74.4",

TypeScript version

No response

Additional context

Fixing this bug would allow Windows users to contribute more freely, which would be a great benefit to the project.

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