Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Error: Cannot start a new ruleset without closing the previous one #167

Open
giantcow opened this issue Apr 1, 2021 · 0 comments
Open

Comments

@giantcow
Copy link

giantcow commented Apr 1, 2021

# 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/[email protected]: Moved to 'npm install @sideway/pinpoint'
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/formula'
npm WARN deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address'
npm WARN deprecated @hapi/[email protected]: 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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant