Skip to content

"Copilot Component" Option Missing in SharePoint Yeoman Generator #10980

Description

@keshavk-msft

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

None

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • browser version
  • SPFx version
  • Node.js version
  • etc

Describe the bug / error

While setting up the SharePoint development environment, we installed the SharePoint Yeoman generator using the following command:

npm install -g @microsoft/generator-sharepoint

However, after installing this version, the "Copilot Component" option was not available when generating a SharePoint project using:

yo @microsoft/sharepoint

Screenshot

The "Copilot Component" option is missing from the project template selection.

Missing Copilot Component


Resolution / Workaround

The issue was resolved by installing the beta (@next) version of the SharePoint generator.

Step 1: Uninstall the existing version (optional but recommended)

npm uninstall -g @microsoft/generator-sharepoint

Step 2: Install the beta version

npm install -g @microsoft/generator-sharepoint@next

Step 3: Verify the installed version

npm ls -g --depth=0 @microsoft/generator-sharepoint

Expected output:

@microsoft/generator-sharepoint@1.24.0-beta.2

Note: Any version 1.24.0-beta.2 or later should include support for the Copilot Component template.

Steps to reproduce

Steps to Reproduce

  1. Install the SharePoint Yeoman generator using the following command:

    npm install -g @microsoft/generator-sharepoint
  2. Generate a new SharePoint project by running:

    yo @microsoft/sharepoint
  3. Proceed through the project creation wizard.

  4. Observe the available project templates.

Actual Result

The "Copilot Component" option is not available in the list of project templates.

Expected behavior

Expected Behavior

The "Copilot Component" option should be available in the SharePoint project template selection when running the following command:

yo @microsoft/sharepoint

This option should be displayed during the project generation wizard, allowing developers to create a Copilot Component project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions