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

Typescript errors by mistaken tsconfig.json #652

Closed
4 tasks
jacargentina opened this issue Jun 16, 2023 · 0 comments
Closed
4 tasks

Typescript errors by mistaken tsconfig.json #652

jacargentina opened this issue Jun 16, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jacargentina
Copy link

jacargentina commented Jun 16, 2023

Description

Can't resolve some packages but the "paths" config

CodeSandbox/Snack link

No response

Steps to reproduce

Captura de pantalla 2023-06-16 a la(s) 09 26 23

No se encuentra el módulo "@gluestack-ui/form-control" ni sus declaraciones de tipos correspondientes.ts(2307)

The error is here:

Captura de pantalla 2023-06-16 a la(s) 09 28 31

Also, this:

Option 'importsNotUsedAsValues' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
Use 'verbatimModuleSyntax' instead.ts

Captura de pantalla 2023-06-16 a la(s) 09 28 01

gluestack-ui Version

latest

Platform

  • Android
  • Expo
  • iOS
  • Next

Other Platform

No response

Additional Information

"paths" should be located inside "compilerOptions", not outside.

https://www.typescriptlang.org/tsconfig#paths

@jacargentina jacargentina added the bug Something isn't working label Jun 16, 2023
jacargentina pushed a commit to jacargentina/gluestack-ui that referenced this issue Jun 16, 2023
jacargentina pushed a commit to jacargentina/gluestack-ui that referenced this issue Jun 16, 2023
makkarMeenu added a commit that referenced this issue Jun 26, 2023
fix: #652 tsconfig.json "paths" configuration is wrong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants