Skip to content

with devtools added getting export setStyleProperty was not found in module error #131

Description

@xmlking

TanStack Pacer version

0.19.1

Framework/Library version

React 19.2.3 nextjs 16.1.1

Describe the bug and the steps to reproduce it

import { lazy } from "react";

export const TanstackDevtools =
  process.env.NODE_ENV === "production"
    ? () => null
    : lazy(() =>
        Promise.all([
          import("@tanstack/react-devtools"),
          import("@tanstack/react-form-devtools"),
          import("@tanstack/react-query-devtools"),
          import("@tanstack/react-pacer-devtools"),
          import("@tanstack/react-table-devtools"),
        ]).then(([devtools, form, query, pacer, _table]) => ({
          default: (
            props: React.ComponentProps<typeof devtools.TanStackDevtools>
          ) => (
            <devtools.TanStackDevtools
              config={{
                position: "bottom-right",
              }}
              eventBusConfig={{
                debug: false,
                connectToServerBus: true,
              }}
              {...props}
              plugins={[
                {
                  name: "Tanstack Query",
                  render: <query.ReactQueryDevtoolsPanel />,
                },
                // form.formDevtoolsPlugin(),
                {
                  name: "TanStack Form",
                  render: <form.FormDevtoolsPanel />,
                },
                pacer.pacerDevtoolsPlugin(),
              ]}
            />
          ),
        }))
      );
console:dev: Export setStyleProperty doesn't exist in target module
console:dev:    5 | import { DetailsPanel } from "./DetailsPanel.js";
console:dev:    6 | import { createMemo, createSignal, onCleanup, onMount } from "solid-js";
console:dev: >  7 | import { className, createComponent, delegateEvents, effect, insert, setStyleProperty, template } from "solid-js/web";
console:dev:      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
console:dev:    8 | import { Header, HeaderLogo, MainPanel } from "@tanstack/devtools-ui";
console:dev:    9 |
console:dev:   10 | //#region src/components/Shell.tsx
console:dev:

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

https://github.com/tanstack/pacer/tree/main/examples/

Screenshots or Videos (Optional)

Image

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

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