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

Uncaught ReferenceError: can't access lexical declaration 'palette2' before initialization #45546

Open
gmzacharydovel opened this issue Mar 11, 2025 · 1 comment
Assignees
Labels
status: waiting for author Issue with insufficient information

Comments

@gmzacharydovel
Copy link

gmzacharydovel commented Mar 11, 2025

Steps to reproduce

Steps:

  1. Setup with vite and
    2.npm:@deno/vite-plugin@^1.0.4"
  2. Start with the vite dev command
  3. See the error stopping the page from loading
Image

Current behavior

No response

Expected behavior

No response

Context

No response

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: palette2

@gmzacharydovel gmzacharydovel added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Mar 11, 2025
@Janpot
Copy link
Member

Janpot commented Mar 12, 2025

This seems to work for me: https://stackblitz.com/edit/github-p5ckkwf4?file=vite.config.ts
Can you please provide a full reproduction?

@Janpot Janpot added status: waiting for author Issue with insufficient information and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Mar 12, 2025
@Janpot Janpot self-assigned this Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for author Issue with insufficient information
Projects
None yet
Development

No branches or pull requests

2 participants