node-red-contrib-chatbot icon indicating copy to clipboard operation
node-red-contrib-chatbot copied to clipboard

nlp.js save error

Open Nayar opened this issue 5 years ago • 2 comments

TypeError: encodeObject Error: [this is not a typed array.] Value: {
  topic: '',
  payload: NlpManager {
    settings: {
      languages: [Array],
      nlu: [Object],
      autoSave: false,
      autoLoad: false,
      container: [Container]
    },
    container: Container {
      classes: {},
      factory: [Object],
      pipelines: [Object],
      configurations: [Object],
      compilers: [Object],
      cache: [Object],
      parent: undefined
    },
    nlp: Nlp {
      container: [Container],
      settings: [Object],
      nluManager: [NluManager],
      ner: [Ner],
      nlgManager: [NlgManager],
      actionManager: [ActionManager],
      sentiment: [SentimentAnalyzer],
      slotManager: [SlotManager]
    },
    sentimentManager: SentimentManager {
      settings: {},
      languages: {},
      analyzer: [SentimentAnalyzer]
    }
  },
  _msgid: '9e908421.7d1398',
  error: {
    message: 'TypeError: this is not a typed array.',
    source: {
      id: 'ec57ae0b.819ef',
      type: 'ch


Screenshot_20200504_012521

root@nodered1:~# nodejs -v
v12.16.1

Any idea what's causing this?

Nayar avatar May 03 '20 21:05 Nayar

Hi Nayar, in few days I'm going to release an improved version of these nodes (maybe can you export just these nodes and send to me in order to quickly replicate the problem?)

guidone avatar May 14 '20 21:05 guidone

@Nayar does the new released solve the problem?

guidone avatar Jun 22 '20 11:06 guidone