Skip to content
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

vue-tsc does not read sub tsconfig.json file #4630

Closed
Barbapapazes opened this issue Jul 31, 2024 · 1 comment
Closed

vue-tsc does not read sub tsconfig.json file #4630

Barbapapazes opened this issue Jul 31, 2024 · 1 comment

Comments

@Barbapapazes
Copy link

Vue - Official extension or vue-tsc version

2.0.21

VSCode version

1.91.1

Vue version

3.4.34

TypeScript version

5.5.4

System Info

System:
    OS: macOS 14.5
    CPU: (8) arm64 Apple M3
    Memory: 61.88 MB / 24.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.15.1 - ~/.nvm/versions/node/v20.15.1/bin/node
    npm: 10.7.0 - ~/.nvm/versions/node/v20.15.1/bin/npm
    pnpm: 9.3.0 - ~/.nvm/versions/node/v20.15.1/bin/pnpm
  Browsers:
    Chrome: 126.0.6478.185
    Safari: 17.5

Steps to reproduce

Hello,

The vue-tsc tool does not seems to read sub tsconfig.json file.

You can create a new Nuxt project, add a server endpoint and import something from #imports. nuxi typecheck will fail because of #imports.

related to nuxt/cli#455

What is expected?

I expect sub tsconfig.json are read and used.

What is actually happening?

Actually, only the root (where vue-tsc starts) is read.

Link to minimal reproduction

https://github.com/Barbapapazes/nuxt-typecheck

Any additional comments?

No response

@davidmatter
Copy link
Collaborator

Hi, I can reproduce your issue but it seems this is not (directly) related to vue-tsc. Please check with nuxt to resolve this.

@davidmatter davidmatter closed this as not planned Won't fix, can't repro, duplicate, stale Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants