-
When I run errorindex.ts:40 Uncaught ReferenceError: process is not defined
at createSelection (index.ts:40:3)
at _Hot$$App (index.tsx:7:37)
at @solid-refresh:10:42
at untrack (dev.js:421:12)
at Object.fn (@solid-refresh:10:28)
at runComputation (dev.js:693:22)
at updateComputation (dev.js:676:3)
at createMemo (dev.js:238:10)
at hmrCompWrapper (@solid-refresh:7:20)
at dev.js:515:12 cause if (process.env.SSR) {
return [
() => [null, NaN, NaN],
sel => (typeof sel === "function" ? sel([null, NaN, NaN]) : sel)
];
} |
Beta Was this translation helpful? Give feedback.
Answered by
thetarnav
Nov 5, 2022
Replies: 1 comment 3 replies
-
Oh, thank you for reporting this. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
mapinxue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh, thank you for reporting this.
This is a bug, the build output shouldn't contain those process.env checks.
Will push a patch in a few hours