Skip to content

Investigate netlify-cli upgrade bug #1974

@axdanbol

Description

@axdanbol

When upgrading past netlify-cli@23.9.5 npm for some unknown reason marks os/cpu specific rollup dependencies as required (missing optional: true) which breaks the the installation.

Try the following:

  • Check if netlify-cli installs properly in a new project
    1. Install only netlify-cli in a new project
    2. Check rollup dependencies
  • Check if there is a conflict with another package
    1. Copy package.json into a new project
    2. Upgrade netlify-cli
    3. Remove packages until rollup dependencies are marked optional

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions