Skip to content

TypeError: Cannot read properties of undefined (reading 'register') #1

Open

Description

@rrubio

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')

Activity

  1. rrubio commented on Jun 13, 2023

    @rrubio
    Author

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

    ts-node --esm ./src/controllers/controllerNlp.ts
    
  2. jBernavaPrah commented on Aug 4, 2023

    @jBernavaPrah

    Hi, same issue here.

    Unfortunately, your suggestion @rrubio is not working.

  3. bobsingor commented on Aug 25, 2023

    @bobsingor

    same issue here!

  4. losthobbit commented on Nov 5, 2023

    @losthobbit

    same issue

  5. urbik commented on Nov 7, 2023

    @urbik

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

  6. neozhu commented on Jan 6, 2024

    @neozhu

    same issue

  7. Cyber1an commented on Feb 26, 2024

    @Cyber1an

    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.

  8. rangerisrael commented on Apr 2, 2024

    @rangerisrael

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions