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

Type error preventing app from deploying 'No inputs were found in config file '.../node_modules/react-number-format/tsconfig.json'. #840

Closed
monecchi opened this issue May 9, 2024 · 2 comments

Comments

@monecchi
Copy link

monecchi commented May 9, 2024

The following type error is preventing my project from being deployed:

No inputs were found in config file '.../node_modules/react-number-format/tsconfig.json'. Specified 'include' paths were '["src","test/types"]' and 'exclude' paths were '[]'.

I know I can supress that kind of warning during deployment, but the same type error persists under development as typescript keeps complaining about it indefinitely.

It seems the package has no .ts files to compile

The issue could be solved by adding at least one empty .ts file to it.

@s-yadav
Copy link
Owner

s-yadav commented Jun 1, 2024

I think we can just exclude it during publish to npm. As project is already compiled to JS, including tsconfig is not necessary.

@s-yadav
Copy link
Owner

s-yadav commented Jun 1, 2024

this is fixed on v5.4.0

@s-yadav s-yadav closed this as completed Jun 1, 2024
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

2 participants