Why am I getting a deployment error when trying to edit a branch?

This topic was automatically generated from Slack. You can find the original thread here.

i am getting a deployment error when i click to edit on a branch, the UI never loads. Here is the error I am seeing:

Error: RuntimeError
Could not deploy handle new ft accounts & contacts.

{"pos":2088,"loc":{"line":66,"column":10},"raisedAt":2097,"name":"SyntaxError","message":"Unexpected token (66:10)","stack":"SyntaxError: Unexpected token (66:10)\n at pp$4.raise (/var/task/node_modules/acorn/dist/acorn.js:2927:15)\n at pp.unexpected (/var/task/node_modules/acorn/dist/acorn.js:698:10)\n at pp.expect (/var/task/node_modules/acorn/dist/acorn.js:692:28)\n at pp$3.parseObj (/var/task/node_modules/acorn/dist/acorn.js:2563:14)\n at pp$3.parseExprAtom (/var/task/node_modules/acorn/dist/acorn.js:2302:19)\n at anonymous.parseExprAtom (/var/task/node_modules/acorn-node/lib/dynamic-import/index.js:77:117)\n at anonymous.parseExprAtom (/var/task/node_modules/acorn-node/lib/import-meta/index.js:27:102)\n at pp$3.parseExprSubscripts (/var/task/node_modules/acorn/dist/acorn.js:2129:21)\n at pp$3.parseMaybeUnary (/var/task/node_modules/acorn/dist/acorn.js:2106:19)\n at anonymous.parseMaybeUnary (/var/task/node_modules/acorn-node/lib/private-class-elements/index.js:122:54)"}

I’m sorry to hear that you’re experiencing issues with the deployment. It seems like there’s a syntax error in your code at line 66, column 10. Please double-check your code and ensure that there are no syntax issues or missing characters. If you’re still having trouble, please visit https://pipedream.com/support for more support options.

is that in my code or an npm package?

I resolved this issue. It was a misformed object in my code. I had to open up github and edit the code there, pull the changes onto the dev branch and then push to production. The only pipedream bug is that the UI will not load in order to edit the workflow to resolve the issue.

I’m glad to hear that you were able to resolve the issue with the misformed object in your code. I apologize for the inconvenience caused by the Pipedream UI not loading to edit the workflow. The Pipedream team is constantly working on improving the platform, and your feedback is valuable. If you encounter any further issues, please don’t hesitate to reach out or visit https://pipedream.com/support for more support options.