Skip to content

Running dev/build on Start project fails with Cannot find package '@rsbuild/core' error #7247

Description

@pawelblaszczyk5

Which project does this relate to?

Start

Describe the bug

Running project with TanStack Start fails since latest update 1.167.43, due to some @rsbuild/core import error:

pawelblaszczyk@Pawes-MacBook-Pro rsbuild-fail-repro % pnpm dev

> rsbuild-fail-repro@ dev /Users/pawelblaszczyk/dev/rsbuild-fail-repro
> vite dev --port 3000

failed to load config from /Users/pawelblaszczyk/dev/rsbuild-fail-repro/vite.config.ts
error when starting dev server:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@rsbuild/core' imported from /Users/pawelblaszczyk/dev/rsbuild-fail-repro/node_modules/.pnpm/@tanstack+start-plugin-core@1.168.0_@tanstack+react-router@1.168.23_react-dom@19.2.5_re_fe057eceb72183a95d1e288393ed9319/node_modules/@tanstack/start-plugin-core/dist/esm/rsbuild/planning.js

It occurs both with a blank project freshly created and with an existing project with more stuff.

Your Example Website or App

https://github.com/pawelblaszczyk5/rsbuild-fail-repro

Steps to Reproduce the Bug or Issue

  1. Create a blank project
  2. Make sure that you uses 1.167.43 version of @tanstack/react-start
  3. Try to run dev/build
  4. Observe error

Expected behavior

dev/build goes without import error

Screenshots or Videos

Image

Platform

  • Router / Start Version: As above
  • OS: macOS
  • Browser: n/a
  • Browser Version: n/a
  • Bundler: vite
  • Bundler Version: 8.0.10

Additional context

No response

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