Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vite examples (vite and firebase-vite) don't run #4583

Closed
ben5516 opened this issue Jan 10, 2025 · 3 comments · Fixed by #4582
Closed

Vite examples (vite and firebase-vite) don't run #4583

ben5516 opened this issue Jan 10, 2025 · 3 comments · Fixed by #4582
Labels
bug 🐛 Something doesn't work docs Improvements or additions to the documentation examples Relating to /examples

Comments

@ben5516
Copy link

ben5516 commented Jan 10, 2025

Steps to reproduce

Steps:

  1. npc create-toolpad-app@latest --example firebase-vite or npx create-toolpad-app@latest --example vite
  2. cd into the directory
  3. npm install
  4. npm run dev

Current behavior

You get an error:

Error: The following dependencies are imported but could not be resolved:

  @toolpad/core/react-router (imported by...)
  
Are they installed?
     at ....

Expected behavior

The example should run without issue

Context

No response

Your environment

npx @mui/envinfo
  System:
    OS: macOS 15.2
  Binaries:
    Node: 23.5.0 - /opt/homebrew/bin/node
    npm: 10.9.2 - /opt/homebrew/bin/npm
    pnpm: 9.15.3 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 131.0.6778.265
    Edge: Not Found
    Safari: 18.2
  npmPackages:
    @emotion/react: ^11 => 11.14.0
    @emotion/styled: ^11 => 11.14.0
    @mui/base:  5.0.0-beta.66
    @mui/core-downloads-tracker:  6.3.1
    @mui/icons-material: ^6 => 6.3.1
    @mui/lab:  6.0.0-beta.19
    @mui/material: ^6 => 6.3.1
    @mui/private-theming:  6.3.1
    @mui/styled-engine:  6.3.1
    @mui/system:  6.3.1
    @mui/types:  7.2.21
    @mui/utils:  6.3.1
    @toolpad/core: latest => 0.11.0
    @toolpad/utils:  0.11.0
    @types/react: ^19.0.0 => 19.0.4
    react: ^19.0.0 => 19.0.0
    react-dom: ^19.0.0 => 19.0.0
    typescript: ^5 => 5.7.3

Search keywords: vite react-router @toolpad/core/react-router

@ben5516 ben5516 added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 10, 2025
@bharatkashyap
Copy link
Member

Thanks for reporting this! We're about to release v0.12.0 which should resolve this: #4582

@bharatkashyap bharatkashyap added bug 🐛 Something doesn't work and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 10, 2025
@bharatkashyap bharatkashyap added docs Improvements or additions to the documentation examples Relating to /examples labels Jan 10, 2025
@bharatkashyap bharatkashyap changed the title Vite examples (site and firebase-site) don't run Vite examples (vite and firebase-vite) don't run Jan 10, 2025
@ben5516
Copy link
Author

ben5516 commented Jan 10, 2025

@bharatkashyap Thanks for the quick reply!

Copy link

This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

Note

@ben5516 How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work docs Improvements or additions to the documentation examples Relating to /examples
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants