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

Error when deploy #518

Open
JohanChungus opened this issue May 18, 2023 · 4 comments
Open

Error when deploy #518

JohanChungus opened this issue May 18, 2023 · 4 comments

Comments

@JohanChungus
Copy link

✘ [ERROR] Unexpected character, expecting string, number, datetime, boolean, inline array or inline table

58

59 /home/runner/work/status/status/packages/status-worker/wrangler.toml:15:46:

60 15 │ kv_namespaces = [{binding="KV_STATUS_PAGE", id=, preview_id=}]

61 ╵ ^

62

63

64 If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose

65

66

67Error: Process completed with exit code 1.

@SunsetMkt
Copy link

@JohanChungus
Copy link
Author

@SunsetMkt
Copy link

No idea. I'm new in Shell.

The line export KV_NAMESPACE_ID=$(npx wrangler kv:namespace list | jq '.[] | select(.title=="KV_STATUS_PAGE") .id') is used to extract KV ID from the output of npx wrangler . The output of npx wrangler must had been changed so the script (jq '.[] | select(.title=="KV_STATUS_PAGE") .id' ) could not extract the ID.

@JohanChungus
Copy link
Author

Hmm

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

2 participants