-
Notifications
You must be signed in to change notification settings - Fork 232
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
TypeError: Cannot read properties of undefined (reading 'mask') #153
Comments
I can't get as far as you to check, because I don't know what toolchain and VM you're using (this is typescript, so how are you compiling it and where are you running it?). My guess would be that you're passing an invalid value to |
I am sorry, my mistake. I passed emojiSet undefined. |
- added test to check that works - avoids issue #153
- added test to check that works - avoids issue #153
The errors should be less confusing! I've just landed PR #156 on master which in future will throw an exception in this situation, explaining what is wrong. |
Hi,
am facing to following issue:
And when I call function
I get following error:
TypeError: Cannot read properties of undefined (reading 'mask')
Screen here: https://ctrlv.cz/gpcx
I am using emoji-js version 3.6.0
Some tips?
The text was updated successfully, but these errors were encountered: