-
-
Notifications
You must be signed in to change notification settings - Fork 771
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 sinon@16.1.1 #2557
Comments
Same here .. cc: @fatso83 |
Add an explicit dependency on a version of sinon that we depend on in other packages. This version is what is used by `aws-cdk-lib` currently. This fixes an issue that occurs currently when installing @aws-cdk-testing/cli-integ in a directory that is not a git repository as described [in this issue](sinonjs/sinon#2557). This doesn't occur during local development because yarn dedupes sinon to a version that intersects with the peerDep range taken by `ts-mock-imports` and versions depended on by other packages, such as `aws-cdk-lib`.
Add an explicit dependency on a version of sinon that we depend on in other packages. This version is what is used by `aws-cdk-lib` currently. This fixes an issue that occurs currently when installing @aws-cdk-testing/cli-integ in a directory that is not a git repository as described [in this issue](sinonjs/sinon#2557). This doesn't occur during local development because yarn dedupes sinon to a version that intersects with the peerDep range taken by `ts-mock-imports` and versions depended on by other packages, such as `aws-cdk-lib`. Also it's in a git repo. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sinon erroneously currently requires git to be installed: sinonjs/sinon#2557 However, sinon is a testing tool which should even be used anyways: mitre/saf#1919
Sinon erroneously currently requires git to be installed: sinonjs/sinon#2557 However, sinon is a testing tool which should even be used anyways: mitre/saf#1919
This is to prevent issues with sinonjs/sinon#2557
Depending on the project. Adding |
This is to prevent issues with sinonjs/sinon#2557
Good call! I'll fix it up. That |
Verified to work. Sorry about the temporary glitch. Just try installing |
I have issue on 16.1.2 and latest too: npm i sinon@latest
npm ERR! code 1
npm ERR! path C:\_Utilisateurs\Project\Edge-AI\EECV-3DScene\node_modules\sinon
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c ./scripts/setup-hooks
npm ERR! '.' n'est pas reconnu en tant que commande interne
npm ERR! ou externe, un programme ex�cutable ou un fichier de commandes. |
16.1.3 is the latest version. Can you show me the commands used? Start with removing node_modules
|
Sinon erroneously currently requires git to be installed: sinonjs/sinon#2557 However, sinon is a testing tool which should even be used anyways: mitre/saf#1919
OS: CentOS Stream release 8
NodeJS: v18.9.1
npm: 8.19.1
npm install
simply fails with:No issue with sinon@16.1.0.
The text was updated successfully, but these errors were encountered: