Skip to content

bug: migrate command should show an error if npm install failed #5897

@jcesarmobile

Description

@jcesarmobile

Bug Report

Capacitor Version

4

Platform(s)

CLI

Current Behavior

npm install can fail sometimes on migrate command and the user is not aware

Expected Behavior

should show an error to the user telling them npm install failed

Code Reproduction

install some plugin that has a peer dependency to capacitor 3, i.e npm install @capacitor-community/barcode-scanner@2 and run migrate command.

Other Technical Details

npm --version output:

node --version output:

pod --version output (iOS issues only):

Additional Context

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