-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URL constructor: rustpad_wasm_bg.wasm is not a valid URL. #72
Comments
This is most likely vitejs/vite#8427 Updating to Vite 3 or 4 partially fixes the issue, but you need to manually run the following whenever it breaks in dev mode: cp rustpad-wasm/pkg/rustpad_wasm_bg.wasm node_modules/.vite/deps/ Release builds ( To switch to Vite 4 after checkout run: npm add --save-dev "vite@4"
npm install |
Thanks for figuring out this issue! I'll update the repository. |
Don’t worry, I have some more fixes. I’ll make a PR then. |
Thanks. I think I got it working, by just updating I also added Feel free to make any other fixes in a PR though! |
Did a fresh clone, then:
At
localhost:3000
, I see the following error on the web console:Nothing is displayed in the browser tab.
The text was updated successfully, but these errors were encountered: