While i try to run my code,this error is arising
i think this error arising when the yolo.detect() is called
ml5.min.js:13902 Uncaught (in promise) RangeError: byte length of Float32Array should be a multiple of 4
at new Float32Array ()
at i (ml5.min.js:13902)
at Object.oc [as decodeWeights] (ml5.min.js:13915)
at ml5.min.js:20090
at ml5.min.js:15668
at Object.next (ml5.min.js:15680)
at o (ml5.min.js:15569)
I'm having the issue when trying to test (yarn start).
ReferenceError: window is not defined
at Object.window (/Users/ekaaditia/website/HarmonyPXMBox/www/harmony-frontend/node_modules/ml5/dist/webpack:/ml5/webpack/universalModuleDefinition:10:2)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.ml5 (/Users/ekaaditia/website/HarmonyPXMBox/www/harmony-frontend/external "ml5":1:1)
at __webpack_require__ (/Users/ekaaditia/website/HarmonyPXMBox/www/harmony-frontend/build/webpack:/webpack/bootstrap:682:1)