You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I'm probably doing something wrong, but I can't seem to get things loading in bundled form. I'm using the following in my onMount (fairly equivalent to useEffect in React):
Error: Not found: /node_modules/@ricky0123/vad-web/src/real-time-vad.ts
Reading the vite docs, it sounds like it should be hitting /.vite/node_modules, and that vite will automatically rewrite the URL.
Not sure if this is an issue with the way vad-web is currently packaged, or if I need to be configuring vite better.
Additionally - I've thrown the onnx-runtime and such static files into static/, but looking at some of the code in this repo, I wonder if I need to configure something in vite to do some rewrites there.
I think I'm probably doing something wrong, but I can't seem to get things loading in bundled form. I'm using the following in my
onMount
(fairly equivalent to useEffect in React):And I'm seeing a 404 in the vite process:
Reading the vite docs, it sounds like it should be hitting
/.vite/node_modules
, and that vite will automatically rewrite the URL.Not sure if this is an issue with the way vad-web is currently packaged, or if I need to be configuring vite better.
Additionally - I've thrown the onnx-runtime and such static files into
static/
, but looking at some of the code in this repo, I wonder if I need to configure something in vite to do some rewrites there.(Also posted this in svelte's repo 🙏 sveltejs/kit#779 (comment))
The text was updated successfully, but these errors were encountered: