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

WasmHash._updateWithBuffer build error #18

Open
haydenbleasel opened this issue Jan 16, 2025 · 0 comments
Open

WasmHash._updateWithBuffer build error #18

haydenbleasel opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@haydenbleasel
Copy link
Owner

Every so often, a build will fail with a similar error to the following:

TypeError: Cannot read properties of undefined (reading 'length')
│     at WasmHash._updateWithBuffer (/Users/haydenbleasel/GitHub/eververse/node_mod
│ ules/.pnpm/[email protected]_@[email protected][email protected][email protected]__re
│ [email protected]/node_modules/next/dist/compiled/webpack/bundle5.js:28:1425886)
│     at WasmHash.update (/Users/haydenbleasel/GitHub/eververse/node_modules/.pnpm/
│ [email protected]_@[email protected][email protected][email protected][email protected]/
│ node_modules/next/dist/compiled/webpack/bundle5.js:28:1425221)
│     at BatchedHash.update (/Users/haydenbleasel/GitHub/eververse/node_modules/.pn
│ pm/[email protected]_@[email protected][email protected][email protected][email protected]
│ .0/node_modules/next/dist/compiled/webpack/bundle5.js:28:1421582)
│     at /Users/haydenbleasel/GitHub/eververse/node_modules/.pnpm/[email protected]_@open
│ [email protected][email protected][email protected][email protected]/node_modules/next
│ /dist/compiled/webpack/bundle5.js:28:302368
│     at processQueue (/Users/haydenbleasel/GitHub/eververse/node_modules/.pnpm/nex
│ [email protected]_@[email protected][email protected][email protected][email protected]/nod
│ e_modules/next/dist/compiled/webpack/bundle5.js:28:1439460)
│     at process.processTicksAndRejections (node:internal/process/task_queues:77:11
│ )

My workaround so far has been to delete the build folders inside each app, then rebuild:

for d in apps/*/; do rm -rf "$d/.next"; done

Would love to figure this one out eventually, but not blocking.

@haydenbleasel haydenbleasel added the bug Something isn't working label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant