# kayo @ DESKTOP-CVNEQ8I in ~/workspace/dynamodb-lock-client on git:master x [1:44:50] C:130
$ sudo npm i -g dts-gen
changed 62 packages, and audited 63 packages in 1s
2 packages are looking for funding
run `npm fund` for details
3 low severity vulnerabilities
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
# kayo @ DESKTOP-CVNEQ8I in ~/workspace/dynamodb-lock-client on git:master x [1:44:56]
$ sudo npm i -g dynamodb-lock-client
npm WARN deprecated @hapi/pinpoint@2.0.0: Moved to 'npm install @sideway/pinpoint'
npm WARN deprecated @hapi/formula@2.0.0: Moved to 'npm install @sideway/formula'
npm WARN deprecated @hapi/address@4.1.0: Moved to 'npm install @sideway/address'
npm WARN deprecated @hapi/joi@17.1.1: Switch to 'npm install joi'
added 14 packages, changed 7 packages, and audited 22 packages in 1s
1 package is looking for funding
run `npm fund` for details
found 0 vulnerabilities
# kayo @ DESKTOP-CVNEQ8I in ~/workspace/dynamodb-lock-client on git:master x [1:45:04]
$ dts-gen -m dynamodb-lock-client --stdout
Unexpected crash! Please log a bug with the commandline you specified.
/usr/local/lib/node_modules/dts-gen/bin/lib/run.js:125
throw e;
^
Error: Cannot start a new ruleset without closing the previous one
at new module.exports (/usr/local/lib/node_modules/dynamodb-lock-client/node_modules/@hapi/hoek/lib/error.js:23:19)
at module.exports (/usr/local/lib/node_modules/dynamodb-lock-client/node_modules/@hapi/hoek/lib/assert.js:20:11)
at internals.Base.get ruleset [as ruleset] (/usr/local/lib/node_modules/dynamodb-lock-client/node_modules/@hapi/joi/lib/base.js:493:9)
at internals.Base.get $ [as $] (/usr/local/lib/node_modules/dynamodb-lock-client/node_modules/@hapi/joi/lib/base.js:502:21)
at getProperty (/usr/local/lib/node_modules/dts-gen/bin/lib/index.js:255:30)
at Array.map (<anonymous>)
at getPropertyDeclarationsOfObject (/usr/local/lib/node_modules/dts-gen/bin/lib/index.js:251:25)
at getTypeOfValue (/usr/local/lib/node_modules/dts-gen/bin/lib/index.js:238:33)
at getProperty (/usr/local/lib/node_modules/dts-gen/bin/lib/index.js:258:45)
at Array.map (<anonymous>)
The example dts-gen -m fs --stdout works fine, just an issue with this specific package I presume.
Let me know if there is any more information that I can provide!
The example
dts-gen -m fs --stdout
works fine, just an issue with this specific package I presume.Let me know if there is any more information that I can provide!