Skip to content

Error running build due to TanStack DevTools #165

@sindras

Description

@sindras

Which project does this relate to?

Create Tanstack App

Describe the bug

Recently (about a month ago) I started a project using the CLI as TanStack Start docs suggested. I encountered this error during build (pnpm run build) prior to Cloudflare deployment, which was thrown by TanStack DevTools. I tried manually upgrading the DevTools to the latest version, but same issue happened:

error during build:
RollupError: node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@tanstack/devtools/dist/devtools/HKKVBS5C.js (2:60): "use" is not exported by "node_modules/.pnpm/[email protected]/node_modules/solid-js/web/dist/server.js", imported by "node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@tanstack/devtools/dist/devtools/HKKVBS5C.js".

This is not just on my local, it happened recently to this person as well thread (it is written in Japanese, but you can use Chrome to translate the page automatically). In the end I disabled the DevTools too, but hoping to see a resolution to this.

Image

Your Example Website or App

N/A - just try the boilerplate and build it

Steps to Reproduce the Bug or Issue

Follow the steps outlined in the thread above. Or simply create a starter app and then run the build command

Expected behavior

Build should be successful

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

This is targeting Cloudflare for deployment

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