Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install appcenter-cli is crashing #2094

Closed
bytehala opened this issue Sep 23, 2022 · 1 comment
Closed

npm install appcenter-cli is crashing #2094

bytehala opened this issue Sep 23, 2022 · 1 comment

Comments

@bytehala
Copy link

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

@bytehala
Copy link
Author

Fixed by jashkenas/underscore#2974

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant