-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Support Tanstack Start (tanstack.com) #24061
Comments
I think I have a similar error- broke between 1.43.5 -> 1.43.6 and still failing in 1.44.0 The debugger shows the process class is completely missing several properties: versions, env (your error), and several others. |
Same problem. Have to revert to 1.43.5 for azure/identity to work. |
@reeceorbuck @tesharp could you please share some reproduction code that causes the failure you're describing? |
import { ClientSecretCredential } from "npm:@azure/identity"; A script with these two lines will throw. |
Just responded with short piece of code that shows my issue. Sorry I'm totally unfamiliar with GitHub conventions |
Thanks, I can now reproduce the problem. |
The error now is (deno 1.45.5+6522478):
instead of the
|
I'll focus on triaging this for Deno 2, which prompts this install error instead: |
deno 2.1.4 I'm seeing now: tanstack.com on main via ⬢ v20.18.1 via 🅒 base took 3.8s
➜ deno task dev
Task dev vinxi dev & pnpm dev:convex
vinxi v0.5.1
> tanstack.com@ dev:convex /Users/admin/repos/deno-kitchensink/tanstack.com
> convex dev --tail-logs
[sentry-vite-plugin] Warning: No auth token provided. Will not create release. Please set the `authToken` option. You can find information on how to generate a Sentry auth token here: https://docs.sentry.io/api/auth/
[sentry-vite-plugin] Warning: No auth token provided. Will not upload source maps. Please set the `authToken` option. You can find information on how to generate a Sentry auth token here: https://docs.sentry.io/api/auth/
vinxi starting dev server
Welcome to developing with Convex, let's get you logged in.
? Device name: (Computer2)
♻️ Generating routes...
✅ Processed routes in 464ms
[sentry-vite-plugin] Info: Sending telemetry data on issues and performance to Sentry. To disable telemetry, set `options.telemetry` to `false`.
[get-port] Unable to find an available port (tried 3000 on host "localhost"). Using alternative port 3001.
➜ Local: http://localhost:3001/
➜ Network: use --host to expose
ServerFn Request: /Users/admin/repos/deno-kitchensink/tanstack.com/app/components/ThemeToggle.tsx - $$function1
ServerFn Response: 200
- Payload: {"result":"auto","context":{}}
ServerFn Request: /Users/admin/repos/deno-kitchensink/tanstack.com/app/server/sponsors.ts - $$function0
Warning: useRouter must be used inside a <RouterProvider> component!
Error in renderToPipeableStream: TypeError: Cannot read properties of null (reading '__store')
at useRouterState (file:///Users/admin/repos/deno-kitchensink/tanstack.com/node_modules/.deno/@tanstack+react-router@1.87.9/node_modules/@tanstack/react-router/dist/esm/useRouterState.js:11:26)
at useMatch (file:///Users/admin/repos/deno-kitchensink/tanstack.com/node_modules/.deno/@tanstack+react-router@1.87.9/node_modules/@tanstack/react-router/dist/esm/useMatch.js:9:26)
at useLoaderData (file:///Users/admin/repos/deno-kitchensink/tanstack.com/node_modules/.deno/@tanstack+react-router@1.87.9/node_modules/@tanstack/react-router/dist/esm/useLoaderData.js:3:10)
at RootRoute.Route.useLoaderData (file:///Users/admin/repos/deno-kitchensink/tanstack.com/node_modules/.deno/@tanstack+react-router@1.87.9/node_modules/@tanstack/react-router/dist/esm/route.js:146:14)
at RootDocument (/Users/admin/repos/deno-kitchensink/tanstack.com/app/routes/__root.tsx, <anonymous>:138:33)
at renderWithHooks (file:///Users/admin/repos/deno-kitchensink/tanstack.com/node_modules/.deno/react-dom@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5724:16)
at renderIndeterminateComponent (file:///Users/admin/repos/deno-kitchensink/tanstack.com/node_modules/.deno/react-dom@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:5798:15)
at renderElement (file:///Users/admin/repos/deno-kitchensink/tanstack.com/node_modules/.deno/react-dom@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6023:7)
at renderNodeDestructiveImpl (file:///Users/admin/repos/deno-kitchensink/tanstack.com/node_modules/.deno/react-dom@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6181:11)
at renderNodeDestructive (file:///Users/admin/repos/deno-kitchensink/tanstack.com/node_modules/.deno/react-dom@18.3.1/node_modules/react-dom/cjs/react-dom-server.node.development.js:6153:14) undefined
Missing github credentials, returning mock data.
Missing airtable credentials, returning mock data.
Missing airtable credentials, returning mock data.
Missing airtable credentials, returning mock data.
Missing github credentials, returning mock data.
ServerFn Response: 200
- Payload: {"result":[],"context":{}}
- ``` |
works with deno 2.2.0 |
Version: Deno 1.44.0
Repro:
Clone https://github.com/tanstack/tanstack.com
pnpm i (using pnpm v 8.10.2)
DENO_FUTURE=1 deno task dev
Error:
Seems like it's breaking at:
authToken: process.env.SENTRY_AUTH_TOKEN,
But it works fine with
pnpm run dev
The text was updated successfully, but these errors were encountered: