vite-plugin-wasm-pack
vite-plugin-wasm-pack copied to clipboard
svelte: copy crates failed
plugin fails with svelte
I know this is a dumb suggestion, but in my case there was a stray symlink with the same name as my crate in node_modules
. After I deleted it, the copy succeeded. Any chance that's causing your problem too?
I know this is a dumb suggestion, but in my case there was a stray symlink with the same name as my crate in
node_modules
. After I deleted it, the copy succeeded. Any chance that's causing your problem too?
This was my issue today too. To paraphrase,I renamed my-crate
(same name with actual crate name) in devDependencies
section of my package.json
file to my-crate-alt
. Then run npm install
and npm run build
. And the issue disappear.