Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The explorer crashes when there are any bigint values #6

Open
dahlia opened this issue Feb 25, 2024 · 0 comments
Open

The explorer crashes when there are any bigint values #6

dahlia opened this issue Feb 25, 2024 · 0 comments

Comments

@dahlia
Copy link

dahlia commented Feb 25, 2024

The explorer crashes with the following error message when there are any bigint values in the KV database:

2024-02-25 16:20:10.717 [error] Error: Failed to list items: Do not know how to serialize a BigInt
    at g.value (/Users/dahlia/.vscode/extensions/hashrock.deno-kv-admin-0.0.5/out/kv/webview.js:101:23)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

The error message apparently is thrown by JSON.stringify():

> JSON.stringify(1n)
Uncaught TypeError: Do not know how to serialize a BigInt
    at JSON.stringify (<anonymous>)
    at <anonymous>:1:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant