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
Please give us details about your installation to assist you. Run dat -v to see the version of Dat you are using.
Operating system:
Node Version:
Dat Version:
Expected behavior
dat unpublish unpublishes the dat.
Actual behavior
The program crashes with an error.
$ dat unpublish
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at /home/cconsonni/.dotfiles/nvm/.nvm/versions/node/v10.14.0/lib/node_modules/dat/node_modules/toiletdb/index.js:73:29
at /home/cconsonni/.dotfiles/nvm/.nvm/versions/node/v10.14.0/lib/node_modules/dat/node_modules/hyperdrive/index.js:537:5
at f (/home/cconsonni/.dotfiles/nvm/.nvm/versions/node/v10.14.0/lib/node_modules/dat/node_modules/once/once.js:25:25)
at Class.<anonymous> (/home/cconsonni/.dotfiles/nvm/.nvm/versions/node/v10.14.0/lib/node_modules/dat/node_modules/stream-collector/index.js:15:5)
at Class.emit (events.js:187:15)
at endReadableNT (/home/cconsonni/.dotfiles/nvm/.nvm/versions/node/v10.14.0/lib/node_modules/dat/node_modules/readable-stream/lib/_stream_readable.js:1010:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
Debug Logs
$ DEBUG=dat* dat unpublish
dat Dat DEBUG mode engaged, enabling quiet mode +0ms
dat dat 13.11.4 +18ms
dat node v10.14.0 +1ms
dat-node archive ready. version: 1446 +0ms
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at /home/cconsonni/.dotfiles/nvm/.nvm/versions/node/v10.14.0/lib/node_modules/dat/node_modules/toiletdb/index.js:73:29
at /home/cconsonni/.dotfiles/nvm/.nvm/versions/node/v10.14.0/lib/node_modules/dat/node_modules/hyperdrive/index.js:537:5
at f (/home/cconsonni/.dotfiles/nvm/.nvm/versions/node/v10.14.0/lib/node_modules/dat/node_modules/once/once.js:25:25)
at Class.<anonymous> (/home/cconsonni/.dotfiles/nvm/.nvm/versions/node/v10.14.0/lib/node_modules/dat/node_modules/stream-collector/index.js:15:5)
at Class.emit (events.js:187:15)
at endReadableNT (/home/cconsonni/.dotfiles/nvm/.nvm/versions/node/v10.14.0/lib/node_modules/dat/node_modules/readable-stream/lib/_stream_readable.js:1010:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
(I am coming from dat-ecosystem-archive/datBase#637)
I am reporting:
Please give us details about your installation to assist you. Run
dat -v
to see the version of Dat you are using.Expected behavior
dat unpublish
unpublishes the dat.Actual behavior
The program crashes with an error.
Debug Logs
Seeing this bug "pretty-printed json fails to parse w/ dat --json" (#37), I have compacted my
dat.json
, but the error persists.The text was updated successfully, but these errors were encountered: