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

Devtools fails on vanilla template #1504

Closed
qbzzt opened this issue Sep 15, 2023 · 0 comments · Fixed by #1505
Closed

Devtools fails on vanilla template #1504

qbzzt opened this issue Sep 15, 2023 · 0 comments · Fixed by #1505

Comments

@qbzzt
Copy link
Contributor

qbzzt commented Sep 15, 2023

Steps to reproduce

  1. Run the vanilla template:

    pnpm create mud@main app
    # I selected vanilla, but it shouldn't matter
    cd app; pnpm dev
  2. In a browser window (Chrome on MacOS), go to http://localhost:3000.

  3. Click. Increment.

  4. Look right for the dev tools.

Expected behavior

I expect information in dev tools to be updated.

Error

In the dev tools:

TypeError: Cannot read properties of undefined (reading 'reduce')
    at concatHex (http://localhost:3000/node_modules/.vite/deps/chunk-W6CGZJRV.js?v=b6adab00:481:22)
    at S2 (http://localhost:3000/node_modules/.vite/deps/chunk-G3WA6G7G.js?v=b6adab00:3388:10)
    at http://localhost:3000/node_modules/.vite/deps/@latticexyz_dev-tools.js?v=bf2f9d52:28402:668
    at Array.map (<anonymous>)
    at ix (http://localhost:3000/node_modules/.vite/deps/@latticexyz_dev-tools.js?v=bf2f9d52:28400:2529)
    at hf (http://localhost:3000/node_modules/.vite/deps/@latticexyz_dev-tools.js?v=bf2f9d52:13687:15)
    at gC (http://localhost:3000/node_modules/.vite/deps/@latticexyz_dev-tools.js?v=bf2f9d52:14959:44)
    at VN (http://localhost:3000/node_modules/.vite/deps/@latticexyz_dev-tools.js?v=bf2f9d52:15605:18)
    at YC (http://localhost:3000/node_modules/.vite/deps/@latticexyz_dev-tools.js?v=bf2f9d52:17853:18)
    at Rj (http://localhost:3000/node_modules/.vite/deps/@latticexyz_dev-tools.js?v=bf2f9d52:17600:42)
Screenshot 2023-09-15 at 10 34 23 AM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant