Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

svelte: copy crates failed #10

Open
veritem opened this issue Mar 3, 2022 · 2 comments
Open

svelte: copy crates failed #10

veritem opened this issue Mar 3, 2022 · 2 comments

Comments

@veritem
Copy link

veritem commented Mar 3, 2022

plugin fails with svelte
image

@mtoohey31
Copy link

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?

@Mattchine
Copy link

Mattchine commented Sep 17, 2022

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants