Skip to content

Proto Installation fails #40

@colo-o

Description

@colo-o

Description

We are integrating moon in our CI/CD pipeline using this github action but we are facing an issue when running our actions. The thing is that whenever we run the action and it tries to install the moon and proto packages it fails instantly with the following error:

Error: TypeError: Cannot read properties of null (reading 'proto')

We have a very simple workflow like this:

jobs:
  release:
    name: Release
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - uses: moonrepo/setup-toolchain@v0
         with:
          auto-install: true
      - name: Setup Node.js
        uses: actions/setup-node@v4
        with:
          node-version: '20'
          cache: 'npm'

Can you guys help us with this? I believe that this is a configuration error but we are kinda blind as we are very new with this awesome tool.

The full logs of the action are:

with:
    auto-install: true
    cache: false
    auto-setup: false
Added /home/runner/.proto/shims and /home/runner/.proto/bin to PATH
Installing `proto` globally
Error: TypeError: Cannot read properties of null (reading 'proto')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions