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: Process completed with exit code 130 - Issue with Netlify deployment #52

Closed
rbneem opened this issue Aug 22, 2023 · 6 comments · Fixed by #53
Closed

Error: Process completed with exit code 130 - Issue with Netlify deployment #52

rbneem opened this issue Aug 22, 2023 · 6 comments · Fixed by #53

Comments

@rbneem
Copy link

rbneem commented Aug 22, 2023

Since yesterday we are seeing all our deployments to Netlify are failing in GitHub actions with the above error.

I see we didn't update workflows the same workflow was used 2 days back and all builds are successful, I re-verified all the env var's Site ID and Netlify Access Token all look good but still no luck.

The error message is not at all helpful in this case. Can anyone help me out here?
Screenshot 2023-08-22 191449

@jsmrcaga
Copy link
Owner

Hello @rbneem, sadly I have not been able to find any sources indicating what this error might be.
The closest I've found is this question on the forums but does not seem completely related.

I know @tpluscode has been having some issues as well. This action uses the pre-installed netlify cli on GitHub runners, so it was probably caused by an update.

Could you try deploying this "from your machine" after updating the CLI and see if you see any difference ?
I'm sorry I can't be of any more help

@Nyeova
Copy link

Nyeova commented Aug 23, 2023

Having the same issue here....
any temporary workaround for a manual deployment?

@rbneem
Copy link
Author

rbneem commented Aug 24, 2023

As we are hosting via Netlify, I have enabled Netlify build & deploy for now till we find the issue. We have also reached Netlify team on the same. Will keep you posted if found any resolution.

@tpluscode
Copy link
Collaborator

Oh, I just found that I can no longer deploy. exit code 130. This is not the issue I reported earlier.

@rbneem any news from Netlify on the matter?

@tpluscode
Copy link
Collaborator

Ah, I know what the problem is!

When I tried deploying locally I got this

> npx netlify-cli deploy --dir packages/demo/dist -a {TOKEN} -s {SITE_ID}

We've detected multiple sites inside your repository
? Select the site you want to work with (Use arrow keys or type to search)
❯ shape-to-query  packages/demo  --filter shape-to-query 
  @hydrofoil/shape-to-query  packages/shape-to-query  --filter @hydrofoil/shape-to-query 

Code 130 is apparently returned when the console tried to go interactive. @Nyeova @rbneem are you also deploying monorepos?

From netlify-cli deploy--help

--filter For monorepos, specify the name of the application to run the command in

It might be a bug that --dir has no effect. Adding --filter instead does the trick and my app got deployed.

@tpluscode
Copy link
Collaborator

Correction, --dir is still needed apparently. Dunno why it worked locally without it but I had to keep it in the job...

https://github.com/hypermedia-app/shape-to-query/actions/runs/6470007726/job/17565237973?pr=230

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

Successfully merging a pull request may close this issue.

4 participants