question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Github Actions ##[error]non-zero exit code

See original GitHub issue

Hi,

Seeing the below in my github actions logs with a failure to deploy. Using "chromatic": "^5.1.0".

 Run chromaui/action@v132s
    exitOnceUploaded: true
Run chromaui/action@v1
  with:
    token: ***
    projectToken: ***
    buildScriptName: build-storybook
    exitZeroOnChanges: true
    exitOnceUploaded: true

Chromatic CLI v5.1.0
https://www.chromatic.com/docs/cli

Cannot read property 'scripts' of undefined
##[error]non-zero exit code

Build file

name: Run Chromatic

on:
    push:
        branches: [master]
    pull_request:
        branches: [master]

jobs:
    build:
        runs-on: ubuntu-latest
        steps:
            - uses: actions/checkout@v2
              with:
                  fetch-depth: 0

            - uses: chromaui/action@v1
              with:
                  token: ${{ secrets.CHROMATIC_ACCESS_TOKEN }}
                  projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
                  buildScriptName: build-storybook
                  exitZeroOnChanges: true
                  exitOnceUploaded: true

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
tmeasdaycommented, Oct 21, 2020

Hmm, ok I guess this is likely the issue, we will try and reproduce.

0reactions
tmeasdaycommented, Oct 27, 2020

Ok, I’ll close this for simplicity then, thanks for the reports.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What does 'nonzero return code 128' in github actions mean?
Your code invokes git describe , which provides a name for the current commit using the tags in the repository. If there are...
Read more >
Deploy Error: Non-Zero Exit Code on App Platform Node Script
I have a Node script, that run as pm2 start server.js, but i get always the error below and the script doesn`t run,...
Read more >
Set an Exit Code on Custom Github Actions to Indicate a ...
In this lesson, we'll walk through setting a failed exit code for our custom Github Action. We'll set up restrictions around our existing ......
Read more >
Github actions Error: Process completed with exit code 2
I have the following piece of code for GitHub actions - name: Validate - run tests based on files present in PR run:...
Read more >
Exit Codes - GitHub Pages
How to ignore exit codes. Create a script that terminates in success/error. As we enter the first episode of the Continuous Integration /...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found