Title: The requested module dayjs.min.js does not provide an export named 'default' · Issue #423 · TanStack/devtools · GitHub
Open Graph Title: The requested module dayjs.min.js does not provide an export named 'default' · Issue #423 · TanStack/devtools
X Title: The requested module dayjs.min.js does not provide an export named 'default' · Issue #423 · TanStack/devtools
Description: TanStack Devtools version 0.10.2 Framework/Library version react 19.2.5 Describe the bug and the steps to reproduce it I have an existing project using tanstack router and tanstack query that were using the individual devtools. I followe...
Open Graph Description: TanStack Devtools version 0.10.2 Framework/Library version react 19.2.5 Describe the bug and the steps to reproduce it I have an existing project using tanstack router and tanstack query that were ...
X Description: TanStack Devtools version 0.10.2 Framework/Library version react 19.2.5 Describe the bug and the steps to reproduce it I have an existing project using tanstack router and tanstack query that were ...
Opengraph URL: https://github.com/TanStack/devtools/issues/423
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The requested module dayjs.min.js does not provide an export named 'default'","articleBody":"### TanStack Devtools version\n\n0.10.2\n\n### Framework/Library version\n\nreact 19.2.5\n\n### Describe the bug and the steps to reproduce it\n\nI have an existing project using tanstack router and tanstack query that were using the individual devtools. I followed the steps to add a TanStackDevtools component and ran into two problems:\n\n1) A constant loop in vite with this error. I fixed this by adding '@tanstack/devtools' to vite.config.ts optimizeDeps.exclude.\n```\n✘ [ERROR] No matching export in \"node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/web/dist/dev.js\" for import \"setStyleProperty\"\n\n node_modules/.pnpm/@tanstack+devtools@0.11.2_csstype@3.2.3_solid-js@1.9.7/node_modules/@tanstack/devtools/dist/devtools/4QORE6HP.js:4:102:\n 4 │ ...use, setAttribute, insert, memo, effect, className, setStyleProperty, addEventListener, style, template, classList } fro...\n ╵ ~~~~~~~~~~~~~~~~\n\n\n ERROR 7:46:47 AM [vite] (client) error while updating dependencies: 07:46:47\nError: Build failed with 1 error:\nnode_modules/.pnpm/@tanstack+devtools@0.11.2_csstype@3.2.3_solid-js@1.9.7/node_modules/@tanstack/devtools/dist/devtools/4QORE6HP.js:4:102: ERROR: No matching export in \"node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/web/dist/dev.js\" for import \"setStyleProperty\"\n at failureErrorWithLog (/Users/andrew/GitHub/finalist/node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:1467:15)\n at /Users/andrew/GitHub/finalist/node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:926:25\n at /Users/andrew/GitHub/finalist/node_modules/.pnpm/esbuild@0.25.12/node_modules/esbuild/lib/main.js:1345:9\n at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n```\n\n2) this runtime error that I have not been able to bypass:\n```\nSyntaxError: The requested module '/node_modules/.pnpm/dayjs@1.11.20/node_modules/dayjs/dayjs.min.js?v=559389e5' does not provide an export named 'default' (at tree.js?v=559389e5:6:8)\n```\nthe line it's pointing to is in @tanstack/devtools-ui/dist/esm/components/tree.js\n```\nimport dayjs from \"/node_modules/.pnpm/dayjs@1.11.20/node_modules/dayjs/dayjs.min.js?v=559389e5\";\n```\n\nI think it has to do with the tsconfig option `allowSyntheticDefaultImports` which I did not previously have set, but I tried adding it (and rerunning with `vite dev --force` to force it to rebuild) but that did not make it work.\n\nSorry, I'm going through the trouble of creating a bug report, I don't have the time to also create a minimal reproducible example. Close the issue if you must.\n\n### Your Minimal, Reproducible Example - (Sandbox Highly Recommended)\n\nhttps://github.com/TanStack/devtools/issues\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\nNone\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/arolson101","@type":"Person","name":"arolson101"},"datePublished":"2026-04-15T12:54:28Z","url":"https://github.com/TanStack/devtools/issues/423"}
| 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:2f4d6bc2-8490-cf52-51b3-1de458252520 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED24:1A0E:290747B:35CC9D9:6AF9B034 |
| html-safe-nonce | 4224cf85f620b7979900ca1c02503d5e7a5405095c24fcced196001ce1b66506 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDI0OjFBMEU6MjkwNzQ3QjozNUNDOUQ5OjZBRjlCMDM0IiwidmlzaXRvcl9pZCI6IjE1Njg0NTM2Mzk0NjQ5MjMxODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4e42a529116c3a91acab6bbfc84c9b55abfbcc4c1209d44b4709f9db8a558595 |
| hovercard-subject-tag | issue:4269058901 |
| 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/423/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1b3ed05348d4eaff94dbf0ef0e3937706f3b8fdb3c8dc4f73f31e09ca6354deb/TanStack/devtools/issues/423 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b3ed05348d4eaff94dbf0ef0e3937706f3b8fdb3c8dc4f73f31e09ca6354deb/TanStack/devtools/issues/423 |
| og:image:alt | TanStack Devtools version 0.10.2 Framework/Library version react 19.2.5 Describe the bug and the steps to reproduce it I have an existing project using tanstack router and tanstack query that were ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | arolson101 |
| 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