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 read properties of undefined (reading 'register') #1

Open
rrubio opened this issue Jun 13, 2023 · 8 comments
Open

Comments

@rrubio
Copy link

rrubio commented Jun 13, 2023

Hi Guys,

I'm getting the following error when trying to execute your example. Any ideas? i'm using node "18.16.0" and npm "9.5.1".

node_modules/@nlpjs/core/src/container.js:344
    if (instance.register) {
                 ^
TypeError: Cannot read properties of undefined (reading 'register')
@rrubio
Copy link
Author

rrubio commented Jun 13, 2023

testing the code by using the following command, from the the command line -

ts-node --esm ./src/controllers/controllerNlp.ts

@jBernavaPrah
Copy link

Hi, same issue here.

Unfortunately, your suggestion @rrubio is not working.

@bobsingor
Copy link

same issue here!

@losthobbit
Copy link

same issue

@urbik
Copy link

urbik commented Nov 7, 2023

Same here... Can't find decent nlp node lib... Tried a bunch of them already.

@neozhu
Copy link

neozhu commented Jan 6, 2024

same issue

@Cyber1an
Copy link

Has anyone managed to solve this problem?
Some time ago, I came across this library and I really liked it, but I am currently using the JS version "node-nlp".
Framework that i use is in TypeScript so I would appreciate it if someone could fix this issue.

@rangerisrael
Copy link

what i did i use node-nlp and i ignore typescript

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

8 participants