Skip to content

npm install appcenter-cli is crashing #2094

Closed

Description

Description

/.nodenv/versions/14.17.0/lib/node_modules/appcenter-cli/bin/appcenter.js

> underscore@1.13.5 postinstall /Users/lemueldulfo/.nodenv/versions/14.17.0/lib/node_modules/appcenter-cli/node_modules/underscore
> patch-package

sh: patch-package: command not found
npm WARN webpack-cli@4.9.2 requires a peer of webpack@4.x.x || 5.x.x but none is installed. You must install peer dependencies yourself.
npm WARN @webpack-cli/configtest@1.2.0 requires a peer of webpack@4.x.x || 5.x.x but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! underscore@1.13.5 postinstall: `patch-package`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the underscore@1.13.5 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Repro Steps

Run npm install -g appcenter-cli

Expected behavior

A clear and concise description of what you expected to happen.

Details

There is a problem with the underscore library: https://github.com/jashkenas/underscore/issues

  • Problem has been resolved on the latest version.
    appcenter-cli has a dependency on the old version underscore

@bytehala ➜ /workspaces/appcenter-cli (master) $ npm list underscore
appcenter-cli@2.11.0 /workspaces/appcenter-cli
└─┬ azure-storage@2.10.7
└── underscore@1.13.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions