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

typescript/rds/mysql - npm install error #1070

Closed
v-au opened this issue Sep 12, 2024 · 1 comment · Fixed by #1071
Closed

typescript/rds/mysql - npm install error #1070

v-au opened this issue Sep 12, 2024 · 1 comment · Fixed by #1071
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@v-au
Copy link
Contributor

v-au commented Sep 12, 2024

Describe the bug

Cannot install Node dependencies.

Expected Behavior

npm install completes without error.

Current Behavior

npm install fails with:

npm error code ERESOLVE

Reproduction Steps

Change directory to typescript/rds/mysql and run npm install:

(@sandbox main=) mysql $ npm install
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/typescript
npm error   dev typescript@"~5.1.6" from the root project
npm error
npm error Could not resolve dependency:
npm error peer typescript@">=3.8 <5.0" from [email protected]
npm error node_modules/ts-jest
npm error   dev ts-jest@"^26.2.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/v-au/.npm/_logs/2024-09-12T06_32_19_334Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/v-au/.npm/_logs/2024-09-12T06_32_19_334Z-debug-0.log

Possible Solution

Upgrade problem packages.

Additional Information/Context

No response

CDK CLI Version

2.156.0 (build 2966832)

Framework Version

No response

Node.js Version

v20.17.0

OS

WSL Ubuntu 20.04.6 LTS (Focal Fossa)

Language

Typescript

Language Version

No response

@v-au v-au added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Sep 12, 2024
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant