-
-
Notifications
You must be signed in to change notification settings - Fork 201
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 i fails during install through pre-commit hook #626
Comments
I think typedoc@0.17.6 should resolve both "~0.17.6" and "^0.16.7" but it doesn't for some odd reason. |
could you please describe the steps to reproduce? |
I see this as well. It works fine with "npx jscpd" but fails with "pre-commit run --all-files" during installation of jscpd. From pre-commit.log:
pre-commit version: 3.6.2
An unexpected error has occurred: CalledProcessError: command: ('/home/vscode/.cache/pre-commit/repows7cwogt/node_env-system/bin/node', '/usr/local/share/nvm/versions/node/v20.11.1/bin/npm', 'install', '--include=dev', '--include=prod', '--ignore-prepublish', '--no-progress', '--no-save')
|
.pre-commit-config.yaml excerpt:
|
ok, I think the problem is that the repo in monorepo and the main script located in packages, but I will investigate it |
the issue has been fixed in jscpd@4.0.1 |
Describe the bug
Npm i fails with version clash installing through pre-commit hook(i think there is no version clash but npm is complaining)
To Reproduce
Add it to pre-commit-config.yaml
Expected behavior
It installs and works out of the box
Screenshots
Desktop (please complete the following information):
Additional context
npm i fails when i pull the repo as well.
The text was updated successfully, but these errors were encountered: