ricky0123 / vad

Voice activity detector (VAD) for the browser with a simple API
https://www.vad.ricky0123.com
Other
901 stars 143 forks source link

NextJS: unable to locate 'node_modules\onnxruntime-web\dist\*.wasm' glob #138

Closed Facuiguacel closed 1 month ago

Facuiguacel commented 1 month ago

Hi, So when starting (npm run dev) or building a NextJS app with this package installed I just get this error: unable to locate 'C:\[..]\node_modules\onnxruntime-web\dist\*.wasm' glob

The files are there. ort-training-wasm-simd-threaded.wasm ort-wasm-simd-threaded.jsep.wasm and ort-wasm-simd-threaded.wasm.

Anyone know what is going on? My workmate is not having this problem and is literally working on the same repo. Only difference is he is on MacOS and I'm on Windows.

danielhangan commented 1 month ago

I have the same problem but i am on macos.

This worked #135