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

nuxi init - tsconfig.server.json has duplicate values in compilerOptions/paths #774

Open
TomHeinemeyer opened this issue Mar 6, 2025 · 1 comment

Comments

@TomHeinemeyer
Copy link

TomHeinemeyer commented Mar 6, 2025

When running pnpm dlx nuxi@latest init my-cool-nuxt-project the generated .nuxt/tsconfig.server.json has duplicate values in the compilerOptions/paths section. Specifically in "~/", "@/", "~~/", "@@/" the "../*" value is duplicated.

Steps to reproduce:

  • run pnpm dlx nuxi@latest init my-cool-nuxt-project
  • the .nuxt/tsconfig.server.json has duplicated values in compilerOptions/paths

Image

@TomHeinemeyer
Copy link
Author

After looking into the code I think it is as easy as modifying the template which is downloaded in packages/nuxi/src/commands/init.ts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant