TanStack / TanStack/pacer

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

Open
#131 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
769
Forks
64
Avg merge
1d 21h
Merged PRs (30d)
3

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the example in the repository's examples/ directory with the reported React 19.2.3 and Next.js 16.1.1 versions. Then inspect the generated Shell.tsx import from solid-js/web and the listed TanStack devtools packages; done means the devtools example builds without the missing setStyleProperty export error.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, react, typescript
Domain
devtools, frontend, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.