nlp.js
nlp.js copied to clipboard
Can't run dockStart
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:
- npm i @nlpjs/basic
- run the follwing code: 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 (
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.