You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
No error
Get the follwing result:
node index.js (node:15564) [PINODEP008] PinoWarning: prettyPrint is deprecated, look at https://github.com/pinojs/pino-pretty for alternatives. (Use node --trace-warnings ... to show where the warning was created) undefined:20 ... ^ SyntaxError: Unexpected token . in JSON at position 577 at JSON.parse () at Nlp.addCorpus (/var/lib/asterisk/agi-bin/node_modules/@nlpjs/nlp/src/nlp.js:494:54) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Nlp.addCorpora (/var/lib/asterisk/agi-bin/node_modules/@nlpjs/nlp/src/nlp.js:316:11) at async Nlp.start (/var/lib/asterisk/agi-bin/node_modules/@nlpjs/nlp/src/nlp.js:136:7) at async Container.start (/var/lib/asterisk/agi-bin/node_modules/@nlpjs/core/src/container.js:524:9) at async Dock.createContainer (/var/lib/asterisk/agi-bin/node_modules/@nlpjs/core-loader/src/dock.js:80:7) at async Dock.terraform (/var/lib/asterisk/agi-bin/node_modules/@nlpjs/core-loader/src/dock.js:114:30) at async dockStart (/var/lib/asterisk/agi-bin/node_modules/@nlpjs/core-loader/src/index.js:59:3) at async /var/lib/asterisk/agi-bin/index.js:4:16 Node.js v18.16.0
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: debian
Browser none
Package version4.26.1
Node version18.16.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
After loading npm i @nlpjs/basic, I tried running sample code, but getting error at first line
To Reproduce
Steps to reproduce the behavior:
const { dockStart } = require('@nlpjs/basic');
(async () => {
const dock = await dockStart({ use: ['Basic']});
Expected behavior
No error
Get the follwing result:
node index.js (node:15564) [PINODEP008] PinoWarning: prettyPrint is deprecated, look at https://github.com/pinojs/pino-pretty for alternatives. (Use
node --trace-warnings ...
to show where the warning was created) undefined:20 ... ^ SyntaxError: Unexpected token . in JSON at position 577 at JSON.parse () at Nlp.addCorpus (/var/lib/asterisk/agi-bin/node_modules/@nlpjs/nlp/src/nlp.js:494:54) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Nlp.addCorpora (/var/lib/asterisk/agi-bin/node_modules/@nlpjs/nlp/src/nlp.js:316:11) at async Nlp.start (/var/lib/asterisk/agi-bin/node_modules/@nlpjs/nlp/src/nlp.js:136:7) at async Container.start (/var/lib/asterisk/agi-bin/node_modules/@nlpjs/core/src/container.js:524:9) at async Dock.createContainer (/var/lib/asterisk/agi-bin/node_modules/@nlpjs/core-loader/src/dock.js:80:7) at async Dock.terraform (/var/lib/asterisk/agi-bin/node_modules/@nlpjs/core-loader/src/dock.js:114:30) at async dockStart (/var/lib/asterisk/agi-bin/node_modules/@nlpjs/core-loader/src/index.js:59:3) at async /var/lib/asterisk/agi-bin/index.js:4:16 Node.js v18.16.0Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: