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

I get a type error on this line: #32

Closed
ghost opened this issue Dec 27, 2022 · 2 comments
Closed

I get a type error on this line: #32

ghost opened this issue Dec 27, 2022 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 27, 2022

For some reason, when I compile the Vite project and ran the preview command.
It throws an error in console and all components become non-functioning.

has method does not exist

irregularPlurals.has(word.toLowerCase())

So I am unsure what is it. At the moment, since we use only a single word for pluralization, I wrote my own tiny function that will just append s for plural meaning. For more complex checks and words, I'd like to use this package, but it's just not working.

@sindresorhus
Copy link
Owner

This is a problem with Vite or your Vite config, not this package. I would ask in the Vite issue tracker instead.

@sindresorhus sindresorhus closed this as not planned Won't fix, can't repro, duplicate, stale Dec 27, 2022
@strblr
Copy link

strblr commented Feb 28, 2023

@nenadnovakovic-sh Same problem here. Did you find a fix?

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