Skip to content

Error: CLI for Microsoft 365 doesn't support upgrading projects build on SPFx v1.12.1 #2607

@PathToSharePoint

Description

@PathToSharePoint

Description

I am trying to upgrade a project built with SPFx 1.12.1 to 1.13.0-beta.13. It errors out with the message:
Error: CLI for Microsoft 365 doesn't support upgrading projects build on SharePoint Framework v1.12.1

Steps to reproduce

  1. Install the latest CLI: beta (v3.9.0-beta.8c84ab1)
    npm i -g @pnp/cli-microsoft365@next
  2. run the upgrade command on SPFx 1.12.1 project:
    m365 spfx project upgrade --preview --shell powershell

Expected result

Instructions on how to upgrade to 1.13.0 beta.

Actual result

Error: CLI for Microsoft 365 doesn't support upgrading projects build on SharePoint Framework v1.12.1

Note: the same CLI allowed me to successfully upgrade projects built on SPFx 1.12.0.

Environment

Windows 10
Nodejs 14.16.1
SPFx 1.12.1 Web Part
CLI v3.9.0-beta.8c84ab1

Project: https://github.com/PathToSharePoint/react-ppp-sp-fx-controls

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions