Skip to content

"templatesFromGithubOrg.filter is not a function" error thrown when authorizing sites:create-template through app.netlify.com #6893

Open
@benhancock

Description

@benhancock

Describe the bug

When I run `netlify sites:create-template and select "Authorize with GitHub through app.netlify.com" and authorize via GitLab in the UI, the cli throws a TypeError.

Steps to reproduce

Run netlify sites:create-template, select "Authorize with GitHub through app.netlify.com", and authorize via GitLab in the UI.
Screenshot 2024-10-22 at 3 33 17 PM

Configuration

No response

Environment

System:
OS: macOS 15.0
CPU: (8) arm64 Apple M2
Memory: 94.78 MB / 8.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 21.6.2 - ~/.nvm/versions/node/v21.6.2/bin/node
Yarn: 1.22.21 - ~/.nvm/versions/node/v21.6.2/bin/yarn
npm: 10.2.4 - ~/.nvm/versions/node/v21.6.2/bin/npm
pnpm: 9.12.0 - ~/.nvm/versions/node/v21.6.2/bin/pnpm
npmGlobalPackages:
netlify-cli: 17.36.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugcode to address defects in shipped code

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions