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

surge bust throws error 502 #484

Open
shenoa opened this issue Oct 11, 2022 · 0 comments
Open

surge bust throws error 502 #484

shenoa opened this issue Oct 11, 2022 · 0 comments

Comments

@shenoa
Copy link

shenoa commented Oct 11, 2022

Surge v0.24.0-rc.12
Node.js v17.0.1

While trying to troubleshoot a missing resource problem I ran a surge bust and received the following 502 error:

surge bust [project domain]

undefined:1
<html><body><h1>502 Bad Gateway</h1>
^

SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at Request._callback (/Users/shenoa/.nvm/versions/node/v17.0.1/lib/node_modules/surge/node_modules/surge-sdk/lib/sdk.js:513:24)
    at Request.self.callback (/Users/shenoa/.nvm/versions/node/v17.0.1/lib/node_modules/surge/node_modules/request/request.js:185:22)
    at Request.emit (node:events:390:28)
    at Request.<anonymous> (/Users/shenoa/.nvm/versions/node/v17.0.1/lib/node_modules/surge/node_modules/request/request.js:1154:10)
    at Request.emit (node:events:390:28)
    at IncomingMessage.<anonymous> (/Users/shenoa/.nvm/versions/node/v17.0.1/lib/node_modules/surge/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (node:events:509:28)
    at IncomingMessage.emit (node:events:402:35)
    at endReadableNT (node:internal/streams/readable:1340:12)
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