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

TypeError: Cannot set property 'locale' of undefined got when input Enter directly in console. #910

Open
atubo2012 opened this issue Apr 19, 2021 · 0 comments

Comments

@atubo2012
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Run the example : https://github.com/jesus-seijas-sp/nlpjs-examples/tree/master/01.quickstart/06.javascriptpipelines
  2. Input enter directly

Expected behavior
Should not raise error and get some hint.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: [windows10]
  • Browser [n/a]
  • Package version [4.22]
  • Node version [14.16]

Additional context
I wonder if it should check the input first then check the locales.length, otherwise in order to catch the exception I must try and catch in the pipelines.md like this:
image

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