scenejs-render
scenejs-render copied to clipboard
Error: Evaluation failed: TypeError: scene.getIterationCount is not a function
I start rending with: render -i index.html --name scene -d 30 And I receive this message: Error: Evaluation failed:
Start Rendering
Error: Evaluation failed: TypeError: scene.getIterationCount is not a function
at puppeteer_evaluation_script:1:7
at ExecutionContext._evaluateInternal (C:\Users\This PC\AppData\Roaming\npm\node_modules@scenejs\render\node_modules\puppeteer\lib\ExecutionContext.js:81:15)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async ExecutionContext.evaluate (C:\Users\This PC\AppData\Roaming\npm\node_modules@scenejs\render\node_modules\puppeteer\lib\ExecutionContext.js:48:12)
-- ASYNC --
at ExecutionContext.
Please help me to fix
@viettn24
Is the scene
registered in window(global)?
I have the same issue, and I have the variable global.
I used a URL (svelte server e.g. http://localhost:5173/video)
I can even call it on the browser. So not sure what happened.