-
Notifications
You must be signed in to change notification settings - Fork 271
Closed
Description
Describe the bug
After opening the project, the following error is printed in the terminal:
~/projects/bnmijavkam.github
❯ npm install && npm run dev
added 233 packages in 9s
53 packages are looking for funding
run `npm fund` for details
> dev
> pnpm tsx ./src/server/server.ts --watch
failed to load config from /home/projects/bnmijavkam.github/vite.config.ts
(node:15) ExperimentalWarning: WASI is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
RangeError: WebAssembly.Memory(): could not allocate memory
at Object.eval (/home/projects/bnmijavkam.github/node_modules/@tailwindcss/oxide/tailwindcss-oxide.wasi.cjs:29:24)
at Module._compile (node:internal/modules/cjs/loader:148:16006)
at Object.transformer (/home/projects/bnmijavkam.github/node_modules/tsx/dist/register-D46fvsV_.cjs:3:1104)
at Module.load (node:internal/modules/cjs/loader:148:15281)
at Module._load (node:internal/modules/cjs/loader:148:12773)
at G.set.n (node:internal/modules/esm/translators:163:4437)
at _0x3a9c76.evaluationFunction (node:internal/modules/esm/translators:163:3218)
Node.js v20.19.1
~/projects/bnmijavkam.github 32s
❯
Link to the blitz that caused the error
https://stackblitz.com/github/tanstack/router/tree/main/examples/react/with-trpc-react-query
Steps to reproduce
Open the StackBlitz project.
Expected behavior
The project should load fully and be runnable.
Parity with Local
- I have run the project in my local machine and I could not reproduce the issue.
Screenshots
No response
Platform
Windows 11
Chrome 145.0.7632.160
Additional context
This happens for most TanStack router StackBlitz projects. This blog post mentions the same error message, though according to the blog, that issue was fixed.
My computer has 9 GB/16 GB of memory in use.
The Chrome dev-tools console contains the following:
blitz.61636aac.js:19 [Contextify] [WARNING] running source code in new context
(anonymous) @ blitz.61636aac.js:19
with-trpc-react-query?embed=1&theme=light&preset=node&file=src/routes/__root.tsx:1 The resource https://w-staticblitz.com/fetch.worker.61636aac.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
fake:1 Uncaught (in promise) Error: Could not find source file: 'stackblitz:/src/main.tsx'.
with-trpc-react-query?embed=1&theme=light&preset=node&file=src/routes/__root.tsx:1 The resource https://w-staticblitz.com/fetch.worker.61636aac.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
with-trpc-react-query?embed=1&theme=light&preset=node&file=src/routes/__root.tsx:1 The resource https://w-staticblitz.com/fetch.worker.61636aac.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
failed to load config from /home/projects/bnmijavkam.github/vite.config.ts
_0x42af52 @ blitz.61636aac.js:31
(node:15) ExperimentalWarning: WASI is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
_0x42af52 @ blitz.61636aac.js:31
fake:1 Uncaught (in promise) Error: Could not find source file: 'stackblitz:/src/main.tsx'.
with-trpc-react-query?embed=1&theme=light&preset=node&file=src/routes/__root.tsx:1 The resource https://w-staticblitz.com/fetch.worker.61636aac.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels