digitalocean / digitalocean/doctl

Error: unexpected end of JSON input

Open
#1,602 2 comments 3 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
3.4k
Forks
496
Avg merge
1d 2h
Merged PRs (30d)
31

Description

I suddenly can't deploy anymore with `doctl`.

I'm just doing
`./doctl serverless deploy --remote-build --verbose-build .`

and am getting the following error:
`Error: unexpected end of JSON input`.

I tried:

- Update to the newest version via `brew` (I'm on macOS)
- Downloading the macOS binary and running `./doctl`
- Switched to my Ubuntu machine and downloaded the latest `doctl` and tried the same. Same error.

I'd really like to deploy the fixes to my server less function but I can't.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.