Skip to content

bundling issues with solidjs #289

Open

Description

@AlemTuzlak

TanStack Devtools version

0.8.4

Framework/Library version

/

Describe the bug and the steps to reproduce it

Issues with SoliJS

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

https://github.com/escwxyz/tanstack-start-error-repro

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

None

Terms & Code of Conduct

  • I agree to follow this project's Code of Conduct
  • 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.

Activity

  1. tsteckenborn commented on Dec 16, 2025

    @tsteckenborn

    Is this related to the issues still mentioned in #91?

    The one linked above for me is limited to the Tanstack Forms devtools, so query and router active works fine.

  2. baldyeagle commented on Feb 23, 2026

    @baldyeagle

    I hit some client-side solidjs errors when I added the @tanstack/ai devtools with @tanstack/react-start as my framework. The devtools were working fine with just the router and query plugins.

    This seems to be a valid workaround, tested in my vite config(irrelevant plugins removed from this example):

    // vite.config.ts
    import path from "node:path";
    import { devtools } from "@tanstack/devtools-vite";
    import { tanstackStart } from "@tanstack/react-start/plugin/vite";
    import viteReact from "@vitejs/plugin-react";
    import { defineConfig } from "vite";
    
    const config = defineConfig({
    	resolve: {
    		alias: {
    			"@": path.resolve(__dirname, "./src"),
    			"solid-js/web": path.resolve(
    				__dirname,
    				"../../node_modules/solid-js/web/dist/web.js",
    			),
    		},
    		conditions: ["import", "module", "browser", "default"],
    	},
    	plugins: [
    		devtools(),
    		tanstackStart(),
    		viteReact(),
    	],
    });
    
    export default config;

    Note this is in a monorepo, so the node_modules path may be different.

    I'm not familiar enough with vite's plugins to know whether this could be solved within @tanstack/devtools-vite to properly handle client vs. server bundles, but I imagine that'd be more eloquent than resolving the alias like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions