Skip to content

action | dotnet:template:install #12

@padupe

Description

@padupe

We are getting the following error on our Backstage instance:

[1] 2023-07-06T14:02:03.940Z Beginning step Install template
[2] 2023-07-06T14:02:03.977Z Error: spawn dotnet ENOENT
[3]     at ChildProcess._handle.onexit (node:internal/child_process:283:19)
[4]     at onErrorNT (node:internal/child_process:476:16)
[5]     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Our Template structure:

    [...]

    - id: install_template
      name: "Install template"
      action: dotnet:template:install
      input:
        package: ./dotnet-api-example-template
        args:
          - --force

    - id: create_template
      name: "Create template"
      action: dotnet:new
      input:
        template: apiexample
        args:
          - -n
          - ${{ parameters.projectName }}
   
    [...]

Follow-up: @jpcarpanezi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions