Skip to content
Source
Sign inSign up
TanStack/pacer

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

Send to my agent
Openxmlking(GitHub profile, opens in a new tab) opened this issue 3 comments

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:

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.

Sign in to join this conversation.