Skip to content
New issue

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

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

Already on GitHub? # to your account

[Bug]: Update typescript version to 5.x.x #513

Open
carafelix opened this issue Jun 25, 2024 · 1 comment
Open

[Bug]: Update typescript version to 5.x.x #513

carafelix opened this issue Jun 25, 2024 · 1 comment
Labels
🐞 Bug Bug or Bug fixes

Comments

@carafelix
Copy link

Reproduction

  • have other dependencies that require typescript ^5.x.x
  • install twind
npm install @twind/core
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @twind/core@1.1.3
npm error Found: typescript@5.4.5
npm error node_modules/typescript
npm error   peerOptional typescript@"^5.1.0" from @remix-run/cloudflare@2.9.2
npm error   node_modules/@remix-run/cloudflare
npm error     @remix-run/cloudflare@"2.9.2" from @remix-run/cloudflare-pages@2.9.2
npm error     node_modules/@remix-run/cloudflare-pages
npm error       @remix-run/cloudflare-pages@"^2.8.1" from the root project
npm error     peerOptional @remix-run/cloudflare@"^2.0.0" from remix-hono@0.0.16
npm error     node_modules/remix-hono
npm error       dev remix-hono@"^0.0.16" from the root project
npm error     1 more (the root project)
npm error   peerOptional typescript@"^5.1.0" from @remix-run/cloudflare-pages@2.9.2
npm error   node_modules/@remix-run/cloudflare-pages
npm error     @remix-run/cloudflare-pages@"^2.8.1" from the root project
npm error   8 more (@remix-run/dev, @remix-run/node, @remix-run/react, ...)
npm error
npm error Could not resolve dependency:
npm error peerOptional typescript@"^4.8.4" from @twind/core@1.1.3
npm error node_modules/@twind/core
npm error   @twind/core@"*" from the root project
npm error
npm error Conflicting peer dependency: typescript@4.9.5
npm error node_modules/typescript
npm error   peerOptional typescript@"^4.8.4" from @twind/core@1.1.3
npm error   node_modules/@twind/core
npm error     @twind/core@"*" 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

Describe the bug

Update the typescript version to +5

Severity

blocking an upgrade

System Info

## Binaries:
 - Node: 20.14.0 - ~/.nvm/versions/node/v20.14.0/bin/node
 - Yarn: 1.22.22 - ~/.nvm/versions/node/v20.14.0/bin/yarn
 - npm: 10.7.0 - ~/.nvm/versions/node/v20.14.0/bin/npm
## Browsers:
 - Chromium: 126.0.6478.114

Additional Information

No response

@carafelix carafelix added the 🐞 Bug Bug or Bug fixes label Jun 25, 2024
@AlexanderArvidsson
Copy link

Duplicate of #497

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🐞 Bug Bug or Bug fixes
Projects
None yet
Development

No branches or pull requests

2 participants