Title: `intent` bin conflicts with @tanstack/intent and imports removed subpath · Issue #525 · TanStack/devtools · GitHub
Open Graph Title: `intent` bin conflicts with @tanstack/intent and imports removed subpath · Issue #525 · TanStack/devtools
X Title: `intent` bin conflicts with @tanstack/intent and imports removed subpath · Issue #525 · TanStack/devtools
Description: TanStack Devtools version v0.14.2 Framework/Library version React v19.2.8; Node v24.20.0; Npm v11.19.0 Describe the bug and the steps to reproduce it When installing the package dependencies in my project that include both @tanstack/inte...
Open Graph Description: TanStack Devtools version v0.14.2 Framework/Library version React v19.2.8; Node v24.20.0; Npm v11.19.0 Describe the bug and the steps to reproduce it When installing the package dependencies in my ...
X Description: TanStack Devtools version v0.14.2 Framework/Library version React v19.2.8; Node v24.20.0; Npm v11.19.0 Describe the bug and the steps to reproduce it When installing the package dependencies in my ...
Opengraph URL: https://github.com/TanStack/devtools/issues/525
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`intent` bin conflicts with @tanstack/intent and imports removed subpath","articleBody":"### TanStack Devtools version\n\nv0.14.2\n\n### Framework/Library version\n\nReact v19.2.8; Node v24.20.0; Npm v11.19.0\n\n### Describe the bug and the steps to reproduce it\n\nWhen installing the package dependencies in my project that include both `@tanstack/intent` and `@tanstack/devtools`, I've found there is a collision between these two package's bin outputs. They both define `\"bin\": { \"intent\": \"...\" }` in their respective `package.json`, but `@tanstack/devtools`'s bin output (implemented at [bin/intent.js](https://github.com/TanStack/devtools/blob/main/bin/intent.js)) tries to import `'@tanstack/intent/intent-library'` which results in a `ERR_PACKAGE_PATH_NOT_EXPORTED` error as this export path was removed from `@tanstack/intent` (there is a reference to the Intent issue below).\n\nIn both my React project and in the minimum reproducible example provided, running `npm ci`/`npm i` resolves `node_modules/.bin/intent` to the bin output from `@tanstack/devtools` rather than `@tanstack/intent`. Another engineer on my team sees this same behaviour, but another engineer can correctly resolve `@tanstack/intent`'s bin at `node_modules/.bin/intent`.\n\n**Reproducible steps** \nIn the minimum reproducible example there is a simple node project which has two dependencies (intent and devtools).\n1. Install the dependencies in the minimum reproducible example project\n2. Run `npm run help`\n\nThe `node_modules/.bin/intent` resolves to devtool's, then running `npm run help` executes `intent help` and because the incorrect `intent` bin is installed, an `ERR_PACKAGE_PATH_NOT_EXPORTED` error is thrown.\n\n[Intent issue #143](https://github.com/TanStack/intent/issues/143) removed `intent-library` from `@tanstack/intent`'s exports.\n> Breaking: anything invoking intent-library directly must move to the normal intent discovery flow. No compatibility shim.\n\n### Your Minimal, Reproducible Example - (Sandbox Highly Recommended)\n\nhttps://github.com/zlo120/intent-bin-min-repro-example/tree/main\n\n### Screenshots or Videos (Optional)\n\n_No response_\n\n### Do you intend to try to help solve this bug with your own PR?\n\nYes, I think I know how to fix it and will discuss it in the comments of this issue\n\n### Terms & Code of Conduct\n\n- [x] I agree to follow this project's Code of Conduct\n- [x] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.","author":{"url":"https://github.com/zlo120","@type":"Person","name":"zlo120"},"datePublished":"2026-09-04T05:17:43Z","url":"https://github.com/TanStack/devtools/issues/525"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:973fca9c-5b72-cdd6-ed07-8cd094c620b3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C2DA:6DB21:1256621:1817346:6AF9AA4F |
| html-safe-nonce | 37bc3cc85cc6d6542d3de8f291c060e3f767eee38a1d389150386f915c331457 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMkRBOjZEQjIxOjEyNTY2MjE6MTgxNzM0Njo2QUY5QUE0RiIsInZpc2l0b3JfaWQiOiIzNjMxODcwMDUxNjI1NjMzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e2554aacb750195468f4e01622c81acdb80e89e6283dcb7f0445f5983275d8ee |
| hovercard-subject-tag | issue:5344507279 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/TanStack/devtools/525/issue_layout |
| twitter:image | https://opengraph.githubassets.com/08941decfe7574aa71d0dc24aef6cf02072e9fbb3c4a269e2bfa7a65888d8aea/TanStack/devtools/issues/525 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/08941decfe7574aa71d0dc24aef6cf02072e9fbb3c4a269e2bfa7a65888d8aea/TanStack/devtools/issues/525 |
| og:image:alt | TanStack Devtools version v0.14.2 Framework/Library version React v19.2.8; Node v24.20.0; Npm v11.19.0 Describe the bug and the steps to reproduce it When installing the package dependencies in my ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zlo120 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/TanStack/devtools git https://github.com/TanStack/devtools.git |
| octolytics-dimension-user_id | 72518640 |
| octolytics-dimension-user_login | TanStack |
| octolytics-dimension-repository_id | 1026402761 |
| octolytics-dimension-repository_nwo | TanStack/devtools |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1026402761 |
| octolytics-dimension-repository_network_root_nwo | TanStack/devtools |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width