Skip to content

bug(solid-start): pre-release package behave different from workspace package #3620

@birkskyum

Description

@birkskyum

Which project does this relate to?

Router

Describe the bug

Go to examples/solid/start-bare

Install latest pre-release packages (check latest pr number), i.e.:

"@tanstack/solid-router": "https://pkg.pr.new/TanStack/router/@tanstack/solid-router@3619",
"@tanstack/solid-start": "https://pkg.pr.new/TanStack/router/@tanstack/solid-start@3619",

run the dev server and open page

See in console:

Warning: useRouter must be used inside a <RouterProvider> component!
Warning: useRouter must be used inside a <RouterProvider> component!
Warning: Error in route match: __root__

The browser show

TypeError: Cannot read properties of null (reading '__store') at useRouterState ...

Your Example Website or App

examples/solid/start-bare

Steps to Reproduce the Bug or Issue

noted above

Expected behavior

Server to run

Screenshots or Videos

No response

Platform

  • OS: macOS

Additional context

No response

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