[GH-ISSUE #277] Parameter 'commandLine' cannot be null or empty #195

Closed
opened 2026-03-01 21:41:05 +03:00 by kerem · 12 comments
Owner

Originally created by @ebebbington on GitHub (Jun 14, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/277

Act Version
0.2.9

Platform
macOS

Workflow File Content

jobs:
  tests:
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest]
        deno: ["1.1.0"]
    runs-on: ${{ matrix.os }}

    steps:
      - uses: actions/checkout@v2

      - name: Install Deno
        uses: denolib/setup-deno@master
        with:
          deno-version: ${{ matrix.deno }}

      - name: Unit
        run: |
          deno cache mod.ts
          deno test --allow-read --allow-run --allow-net

Command Used
act -v

Output

...
[master/tests-1] ⭐  Run Install Deno
[master/tests-1]   ☁  git clone 'https://github.com/denolib/setup-deno' # ref=master
[master/tests-1]   cloning https://github.com/denolib/setup-deno to /Users/edwardbebbington/.cache/act/denolib-setup-deno@master
[master/linting] Cloned https://github.com/denolib/setup-deno to /Users/edwardbebbington/.cache/act/denolib-setup-deno@master
[master/linting] Checked out master
DEBU[0002] Read action &{Setup Deno environment The Deno Authors Setup a Deno environment and add it to the PATH, additionally providing proxy support map[deno-version:{Version range or exact version of a Deno version to use. false v1.x}] map[] {node12 map[] dist/index.js  [] []} { }} from '/Users/edwardbebbington/.cache/act/denolib-setup-deno@master/action.yml' 
DEBU[0002] About to run action &{Setup Deno environment The Deno Authors Setup a Deno environment and add it to the PATH, additionally providing proxy support map[deno-version:{Version range or exact version of a Deno version to use. false v1.x}] map[] {node12 map[] dist/index.js  [] []} { }} 
DEBU[0002] type=3 actionDir=/Users/edwardbebbington/.cache/act/denolib-setup-deno@master Workdir=/Users/edwardbebbington/Development/docker/environments/dmm ActionCacheDir=/Users/edwardbebbington/.cache/act actionName=denolib-setup-deno@master containerActionDir=/actions 
[master/linting]   🐳  docker cp src=/Users/edwardbebbington/.cache/act/denolib-setup-deno@master dst=/actions/
[master/linting] Exec command '[mkdir -p /actions/]'
DEBU[0002] Writing tarball /var/folders/8c/n8gtm34j4z5cv_2w83r9gn740000gn/T/act782773580 from /Users/edwardbebbington/.cache/act/denolib-setup-deno@master 
DEBU[0002] Stripping prefix:/Users/edwardbebbington/.cache/act/ src:/Users/edwardbebbington/.cache/act/denolib-setup-deno@master 
[master/linting] Extracting content from '/var/folders/8c/n8gtm34j4z5cv_2w83r9gn740000gn/T/act782773580' to '/actions/'
[master/linting] Exec command '[node /actions/denolib-setup-deno@master/dist/index.js]'
[master/tests-1] Cloned https://github.com/denolib/setup-deno to /Users/edwardbebbington/.cache/act/denolib-setup-deno@master
[master/tests-1] Checked out master
DEBU[0002] Read action &{Setup Deno environment The Deno Authors Setup a Deno environment and add it to the PATH, additionally providing proxy support map[deno-version:{Version range or exact version of a Deno version to use. false v1.x}] map[] {node12 map[] dist/index.js  [] []} { }} from '/Users/edwardbebbington/.cache/act/denolib-setup-deno@master/action.yml' 
DEBU[0002] About to run action &{Setup Deno environment The Deno Authors Setup a Deno environment and add it to the PATH, additionally providing proxy support map[deno-version:{Version range or exact version of a Deno version to use. false v1.x}] map[] {node12 map[] dist/index.js  [] []} { }} 
DEBU[0002] type=3 actionDir=/Users/edwardbebbington/.cache/act/denolib-setup-deno@master Workdir=/Users/edwardbebbington/Development/docker/environments/dmm ActionCacheDir=/Users/edwardbebbington/.cache/act actionName=denolib-setup-deno@master containerActionDir=/actions 
[master/tests-1]   🐳  docker cp src=/Users/edwardbebbington/.cache/act/denolib-setup-deno@master dst=/actions/
[master/tests-1] Exec command '[mkdir -p /actions/]'
DEBU[0002] Writing tarball /var/folders/8c/n8gtm34j4z5cv_2w83r9gn740000gn/T/act992935995 from /Users/edwardbebbington/.cache/act/denolib-setup-deno@master 
DEBU[0002] Stripping prefix:/Users/edwardbebbington/.cache/act/ src:/Users/edwardbebbington/.cache/act/denolib-setup-deno@master 
[master/tests-1] Extracting content from '/var/folders/8c/n8gtm34j4z5cv_2w83r9gn740000gn/T/act992935995' to '/actions/'
[master/linting]   💬  ::debug::isExplicit: 1.1.0
[master/linting]   💬  ::debug::explicit? true
[master/linting]   💬  ::debug::checking cache: /opt/hostedtoolcache/deno/1.1.0/x64
[master/linting]   💬  ::debug::not found
[master/linting]   💬  ::debug::isExplicit: 1.1.0
[master/linting]   💬  ::debug::explicit? true
[master/linting]   💬  ::debug::checking cache: /opt/hostedtoolcache/deno/1.1.0/x64
[master/linting]   💬  ::debug::not found
[master/linting]   💬  ::debug::Downloading deno at version 1.1.0
[master/linting]   💬  ::debug::Downloading https://github.com/denoland/deno/releases/download/v1.1.0/deno-x86_64-unknown-linux-gnu.zip
[master/linting]   💬  ::debug::Downloading /tmp/61f29760-eb50-4dac-bdab-7f890587426a
[master/tests-1] Exec command '[node /actions/denolib-setup-deno@master/dist/index.js]'
[master/tests-1]   💬  ::debug::isExplicit: 1.1.0
[master/tests-1]   💬  ::debug::explicit? true
[master/tests-1]   💬  ::debug::checking cache: /opt/hostedtoolcache/deno/1.1.0/x64
[master/tests-1]   💬  ::debug::not found
[master/tests-1]   💬  ::debug::isExplicit: 1.1.0
[master/tests-1]   💬  ::debug::explicit? true
[master/tests-1]   💬  ::debug::checking cache: /opt/hostedtoolcache/deno/1.1.0/x64
[master/tests-1]   💬  ::debug::not found
[master/tests-1]   💬  ::debug::Downloading deno at version 1.1.0
[master/tests-1]   💬  ::debug::Downloading https://github.com/denoland/deno/releases/download/v1.1.0/deno-x86_64-unknown-linux-gnu.zip
[master/tests-1]   💬  ::debug::Downloading /tmp/5f33c599-5838-4c94-87bf-9e055a2f71a7
[master/linting]   💬  ::debug::download complete
[master/linting]   ❗  ::error::Parameter 'commandLine' cannot be null or empty.
[master/linting]   ❌  Failure - Install Deno
DEBU[0020] exit with `FAILURE`: 1                       
DEBU[0020] exit with `FAILURE`: 1                       
Error: exit with `FAILURE`: 1

Expected Result
Everything should run smoothly and Deno should be installed correctly. I'm not sure what `Paramater 'commandLine' cannot be null or empty means.

Originally created by @ebebbington on GitHub (Jun 14, 2020). Original GitHub issue: https://github.com/nektos/act/issues/277 **Act Version** 0.2.9 **Platform** macOS **Workflow File Content** ``` jobs: tests: strategy: matrix: os: [ubuntu-latest, macos-latest] deno: ["1.1.0"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - name: Install Deno uses: denolib/setup-deno@master with: deno-version: ${{ matrix.deno }} - name: Unit run: | deno cache mod.ts deno test --allow-read --allow-run --allow-net ``` **Command Used** `act -v` **Output** ``` ... [master/tests-1] ⭐ Run Install Deno [master/tests-1] ☁ git clone 'https://github.com/denolib/setup-deno' # ref=master [master/tests-1] cloning https://github.com/denolib/setup-deno to /Users/edwardbebbington/.cache/act/denolib-setup-deno@master [master/linting] Cloned https://github.com/denolib/setup-deno to /Users/edwardbebbington/.cache/act/denolib-setup-deno@master [master/linting] Checked out master DEBU[0002] Read action &{Setup Deno environment The Deno Authors Setup a Deno environment and add it to the PATH, additionally providing proxy support map[deno-version:{Version range or exact version of a Deno version to use. false v1.x}] map[] {node12 map[] dist/index.js [] []} { }} from '/Users/edwardbebbington/.cache/act/denolib-setup-deno@master/action.yml' DEBU[0002] About to run action &{Setup Deno environment The Deno Authors Setup a Deno environment and add it to the PATH, additionally providing proxy support map[deno-version:{Version range or exact version of a Deno version to use. false v1.x}] map[] {node12 map[] dist/index.js [] []} { }} DEBU[0002] type=3 actionDir=/Users/edwardbebbington/.cache/act/denolib-setup-deno@master Workdir=/Users/edwardbebbington/Development/docker/environments/dmm ActionCacheDir=/Users/edwardbebbington/.cache/act actionName=denolib-setup-deno@master containerActionDir=/actions [master/linting] 🐳 docker cp src=/Users/edwardbebbington/.cache/act/denolib-setup-deno@master dst=/actions/ [master/linting] Exec command '[mkdir -p /actions/]' DEBU[0002] Writing tarball /var/folders/8c/n8gtm34j4z5cv_2w83r9gn740000gn/T/act782773580 from /Users/edwardbebbington/.cache/act/denolib-setup-deno@master DEBU[0002] Stripping prefix:/Users/edwardbebbington/.cache/act/ src:/Users/edwardbebbington/.cache/act/denolib-setup-deno@master [master/linting] Extracting content from '/var/folders/8c/n8gtm34j4z5cv_2w83r9gn740000gn/T/act782773580' to '/actions/' [master/linting] Exec command '[node /actions/denolib-setup-deno@master/dist/index.js]' [master/tests-1] Cloned https://github.com/denolib/setup-deno to /Users/edwardbebbington/.cache/act/denolib-setup-deno@master [master/tests-1] Checked out master DEBU[0002] Read action &{Setup Deno environment The Deno Authors Setup a Deno environment and add it to the PATH, additionally providing proxy support map[deno-version:{Version range or exact version of a Deno version to use. false v1.x}] map[] {node12 map[] dist/index.js [] []} { }} from '/Users/edwardbebbington/.cache/act/denolib-setup-deno@master/action.yml' DEBU[0002] About to run action &{Setup Deno environment The Deno Authors Setup a Deno environment and add it to the PATH, additionally providing proxy support map[deno-version:{Version range or exact version of a Deno version to use. false v1.x}] map[] {node12 map[] dist/index.js [] []} { }} DEBU[0002] type=3 actionDir=/Users/edwardbebbington/.cache/act/denolib-setup-deno@master Workdir=/Users/edwardbebbington/Development/docker/environments/dmm ActionCacheDir=/Users/edwardbebbington/.cache/act actionName=denolib-setup-deno@master containerActionDir=/actions [master/tests-1] 🐳 docker cp src=/Users/edwardbebbington/.cache/act/denolib-setup-deno@master dst=/actions/ [master/tests-1] Exec command '[mkdir -p /actions/]' DEBU[0002] Writing tarball /var/folders/8c/n8gtm34j4z5cv_2w83r9gn740000gn/T/act992935995 from /Users/edwardbebbington/.cache/act/denolib-setup-deno@master DEBU[0002] Stripping prefix:/Users/edwardbebbington/.cache/act/ src:/Users/edwardbebbington/.cache/act/denolib-setup-deno@master [master/tests-1] Extracting content from '/var/folders/8c/n8gtm34j4z5cv_2w83r9gn740000gn/T/act992935995' to '/actions/' [master/linting] 💬 ::debug::isExplicit: 1.1.0 [master/linting] 💬 ::debug::explicit? true [master/linting] 💬 ::debug::checking cache: /opt/hostedtoolcache/deno/1.1.0/x64 [master/linting] 💬 ::debug::not found [master/linting] 💬 ::debug::isExplicit: 1.1.0 [master/linting] 💬 ::debug::explicit? true [master/linting] 💬 ::debug::checking cache: /opt/hostedtoolcache/deno/1.1.0/x64 [master/linting] 💬 ::debug::not found [master/linting] 💬 ::debug::Downloading deno at version 1.1.0 [master/linting] 💬 ::debug::Downloading https://github.com/denoland/deno/releases/download/v1.1.0/deno-x86_64-unknown-linux-gnu.zip [master/linting] 💬 ::debug::Downloading /tmp/61f29760-eb50-4dac-bdab-7f890587426a [master/tests-1] Exec command '[node /actions/denolib-setup-deno@master/dist/index.js]' [master/tests-1] 💬 ::debug::isExplicit: 1.1.0 [master/tests-1] 💬 ::debug::explicit? true [master/tests-1] 💬 ::debug::checking cache: /opt/hostedtoolcache/deno/1.1.0/x64 [master/tests-1] 💬 ::debug::not found [master/tests-1] 💬 ::debug::isExplicit: 1.1.0 [master/tests-1] 💬 ::debug::explicit? true [master/tests-1] 💬 ::debug::checking cache: /opt/hostedtoolcache/deno/1.1.0/x64 [master/tests-1] 💬 ::debug::not found [master/tests-1] 💬 ::debug::Downloading deno at version 1.1.0 [master/tests-1] 💬 ::debug::Downloading https://github.com/denoland/deno/releases/download/v1.1.0/deno-x86_64-unknown-linux-gnu.zip [master/tests-1] 💬 ::debug::Downloading /tmp/5f33c599-5838-4c94-87bf-9e055a2f71a7 [master/linting] 💬 ::debug::download complete [master/linting] ❗ ::error::Parameter 'commandLine' cannot be null or empty. [master/linting] ❌ Failure - Install Deno DEBU[0020] exit with `FAILURE`: 1 DEBU[0020] exit with `FAILURE`: 1 Error: exit with `FAILURE`: 1 ``` **Expected Result** Everything should run smoothly and Deno should be installed correctly. I'm not sure what `Paramater 'commandLine' cannot be null or empty means.
kerem 2026-03-01 21:41:05 +03:00
Author
Owner

@ebebbington commented on GitHub (Jun 17, 2020):

I should note that it might actually be a problem that isn't solvable, I have absolutely no clue how @cplee make act :P But it just might not be possible to execute the following outside of GH actions:

uses: denolib/setup-deno@master
        with:
          deno-version: ${{ matrix.deno }}
<!-- gh-comment-id:645157784 --> @ebebbington commented on GitHub (Jun 17, 2020): I should note that it might actually be a problem that isn't solvable, I have absolutely no clue how @cplee make act :P But it just might not be possible to execute the following outside of GH actions: ``` uses: denolib/setup-deno@master with: deno-version: ${{ matrix.deno }} ```
Author
Owner

@github-actions[bot] commented on GitHub (Aug 17, 2020):

Issue is stale and will be closed in 7 days unless there is new activity

<!-- gh-comment-id:674598790 --> @github-actions[bot] commented on GitHub (Aug 17, 2020): Issue is stale and will be closed in 7 days unless there is new activity
Author
Owner

@ebebbington commented on GitHub (Aug 17, 2020):

Bump

<!-- gh-comment-id:674599427 --> @ebebbington commented on GitHub (Aug 17, 2020): Bump
Author
Owner

@ebebbington commented on GitHub (Aug 25, 2020):

@nektos-ci hey I believe this needs to be reopened

<!-- gh-comment-id:680149384 --> @ebebbington commented on GitHub (Aug 25, 2020): @nektos-ci hey I believe this needs to be reopened
Author
Owner

@github-actions[bot] commented on GitHub (Oct 28, 2020):

Issue is stale and will be closed in 7 days unless there is new activity

<!-- gh-comment-id:717621457 --> @github-actions[bot] commented on GitHub (Oct 28, 2020): Issue is stale and will be closed in 7 days unless there is new activity
Author
Owner

@goshlanguage commented on GitHub (Mar 27, 2021):

running into this as well, though this doesn't seem to be surfaced by act directly. Any luck in troubleshooting this?

<!-- gh-comment-id:808814323 --> @goshlanguage commented on GitHub (Mar 27, 2021): running into this as well, though this doesn't seem to be surfaced by `act` directly. Any luck in troubleshooting this?
Author
Owner

@catthehacker commented on GitHub (Mar 29, 2021):

Hi @goshlanguage, could you provide more info (repository or workflow, which image you are using [micro/medium/large], full log, OS)?

<!-- gh-comment-id:809640834 --> @catthehacker commented on GitHub (Mar 29, 2021): Hi @goshlanguage, could you provide more info (repository or workflow, which image you are using [`micro`/`medium`/`large`], full log, OS)?
Author
Owner

@goshlanguage commented on GitHub (Mar 30, 2021):

apologies, I found a work around in lieu of triaging this, and never checked it in.

I'm on mac and was using one of the helm github actions. I've tried to replicate the error, but I can't seem to find which action was impacted.

<!-- gh-comment-id:810272997 --> @goshlanguage commented on GitHub (Mar 30, 2021): apologies, I found a work around in lieu of triaging this, and never checked it in. I'm on mac and was using one of the helm github actions. I've tried to replicate the error, but I can't seem to find which action was impacted.
Author
Owner

@github-actions[bot] commented on GitHub (May 1, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:830467597 --> @github-actions[bot] commented on GitHub (May 1, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@NoSkillGirl commented on GitHub (Jun 3, 2021):

I too ran into the same issue

jobs:
  e2e-test:
    runs-on: ubuntu-latest
    steps:
      - name: Set up Helm
        uses: azure/setup-helm@v1
        with:
          version: v3.6.0

Logs

[build/e2e-test]   💬  ::debug::Downloading v3.6.0
[build/e2e-test]   💬  ::debug::isExplicit: 3.6.0
[build/e2e-test]   💬  ::debug::explicit? true
[build/e2e-test]   💬  ::debug::checking cache: /opt/hostedtoolcache/helm/3.6.0/arm64
[build/e2e-test]   💬  ::debug::not found
[build/e2e-test]   💬  ::debug::Downloading https://get.helm.sh/helm-v3.6.0-linux-amd64.zip
[build/e2e-test]   💬  ::debug::Downloading /tmp/43e882db-80c8-419b-b8ce-413241458bff
[build/e2e-test]   💬  ::debug::download complete
[build/e2e-test]   ❗  ::error::Error: Parameter 'commandLine' cannot be null or empty.
[build/e2e-test]   ❌  Failure - Set up Helm

Environment Details:
I am using macOS Big Sur with Silicon M1 chip!

<!-- gh-comment-id:854079342 --> @NoSkillGirl commented on GitHub (Jun 3, 2021): I too ran into the same issue ``` jobs: e2e-test: runs-on: ubuntu-latest steps: - name: Set up Helm uses: azure/setup-helm@v1 with: version: v3.6.0 ``` Logs ``` [build/e2e-test] 💬 ::debug::Downloading v3.6.0 [build/e2e-test] 💬 ::debug::isExplicit: 3.6.0 [build/e2e-test] 💬 ::debug::explicit? true [build/e2e-test] 💬 ::debug::checking cache: /opt/hostedtoolcache/helm/3.6.0/arm64 [build/e2e-test] 💬 ::debug::not found [build/e2e-test] 💬 ::debug::Downloading https://get.helm.sh/helm-v3.6.0-linux-amd64.zip [build/e2e-test] 💬 ::debug::Downloading /tmp/43e882db-80c8-419b-b8ce-413241458bff [build/e2e-test] 💬 ::debug::download complete [build/e2e-test] ❗ ::error::Error: Parameter 'commandLine' cannot be null or empty. [build/e2e-test] ❌ Failure - Set up Helm ``` Environment Details: I am using macOS Big Sur with Silicon M1 chip!
Author
Owner

@catthehacker commented on GitHub (Jun 3, 2021):

@NoSkillGirl please try this:

docker run --rm --privileged tonistiigi/binfmt --install amd64
act --container-platform linux/amd64
<!-- gh-comment-id:854080857 --> @catthehacker commented on GitHub (Jun 3, 2021): @NoSkillGirl please try this: ```sh docker run --rm --privileged tonistiigi/binfmt --install amd64 act --container-platform linux/amd64 ```
Author
Owner

@shubhamdhag commented on GitHub (Aug 5, 2022):

checkout is not working for self hosted runner anyone please let me know the solution if you have gone through this:
Error - Parameter 'commandLine' cannot be null or empty.

<!-- gh-comment-id:1206393189 --> @shubhamdhag commented on GitHub (Aug 5, 2022): checkout is not working for self hosted runner anyone please let me know the solution if you have gone through this: Error - Parameter 'commandLine' cannot be null or empty.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#195
No description provided.