Coda-Cola
Coda-Cola
Aarktype
Created by Coda-Cola on 2/5/2025 in #questions
Uncaught (in promise) RangeError: Maximum call stack size exceeded
When using ArkType with svelte superforms, I'm getting the error:
justClone.js:14 Uncaught (in promise) RangeError: Maximum call stack size exceeded
at String.toString (<anonymous>)
at clone (justClone.js:14:30)
at clone (justClone.js:34:27)
at clone (justClone.js:34:27)
at clone (justClone.js:34:27)
at clone (justClone.js:34:27)
at clone (justClone.js:34:27)
at clone (justClone.js:34:27)
at clone (justClone.js:34:27)
at clone (justClone.js:34:27)
justClone.js:14 Uncaught (in promise) RangeError: Maximum call stack size exceeded
at String.toString (<anonymous>)
at clone (justClone.js:14:30)
at clone (justClone.js:34:27)
at clone (justClone.js:34:27)
at clone (justClone.js:34:27)
at clone (justClone.js:34:27)
at clone (justClone.js:34:27)
at clone (justClone.js:34:27)
at clone (justClone.js:34:27)
at clone (justClone.js:34:27)
Not sure if this is an ArkType error or a superforms error as I can't see higher up the call stack. But I can confirm that it only happens for a field typed as '100 < number <= 3000' and doesn't occur for just 'number'
7 replies