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

Unable to install plugin after 5.4.0 release #334

Closed
1 task
mostafascoober opened this issue Aug 26, 2022 · 5 comments · Fixed by #336
Closed
1 task

Unable to install plugin after 5.4.0 release #334

mostafascoober opened this issue Aug 26, 2022 · 5 comments · Fixed by #336
Assignees
Labels
bug Something isn't working

Comments

@mostafascoober
Copy link

Issue verification check:

  • is the current repository fully deployable at the commit SHA provided with the 'from' parameter of the command?

What is the problem?

When installing the latest release v5.4.0 via the command sfdx plugins:install sfdx-git-delta, the installation fails for failure to install the husky dependency. This was tested on Linux and Mac. Attempting to install the previous version v5.3.1 via the command sfdx plugins:install [email protected] works without an issue.

Steps to reproduce

install plugin via command sfdx plugins:install sfdx-git-delta

Execution context

System Admin

@mostafascoober mostafascoober added the bug Something isn't working label Aug 26, 2022
@reszkaj
Copy link

reszkaj commented Aug 26, 2022

It is so annoying. I also noticed it on my side.

@jonny-harte
Copy link

Yep just started happening with our CI

@scolladon
Copy link
Owner

Hi !

I'm on it !
It looks to be an issue with the typicode/husky#945 set during plugin installation.

I'm fixing it now.

@gaelCangy
Copy link

Hello Having the same issue here

+ echo "y" | sfdx plugins:install sfdx-git-delta Installing plugin sfdx-git-delta... yarn add v1.22.19 Installing plugin sfdx-git-delta... info No lockfile found.Installing plugin sfdx-git-delta... [1/4] Resolving packages...Installing plugin sfdx-git-delta... [2/4] Fetching packages...Installing plugin sfdx-git-delta... [3/4] Linking dependencies...Installing plugin sfdx-git-delta... [4/4] Building fresh packages...Installing plugin sfdx-git-delta... info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.Installing plugin sfdx-git-delta... failed warning sfdx-git-delta > @salesforce/core > jsforce > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 warning sfdx-git-delta > @salesforce/core > jsforce > request > [email protected]: this library is no longer supported warning sfdx-git-delta > @salesforce/core > jsforce > request > [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. error /root/.local/share/sfdx/node_modules/sfdx-git-delta: Command failed. Exit code: 127 Command: husky install Arguments: Directory: /root/.local/share/sfdx/node_modules/sfdx-git-delta Output: /bin/sh: 1: husky: not found Error: yarn add sfdx-git-delta@latest --non-interactive --mutex=file:/root/.local/share/sfdx/yarn.lock --preferred-cache-folder=/root/.cache/sfdx/yarn --check-files exited with code 127

I

@scolladon
Copy link
Owner

New release 5.4.1 have a fix for this issue.

Let me know if you still have this issue
And really sorry for the inconvenience, I did not see that coming...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants