Building web component via cli works only once
On a brand new vue cli project created with vue create I want to run a vue web component bundler. I run npx vue-cli-service build --target wc --name my-element *.vue from src folder and it compiles nicely. After that, every next try ends up with 404error from https://registry.npmjs.org/vue-cli-service.
It runs again after I remove package-lock and node_modules and npm install:
rm -rf node_modules package-lock.json && npm install
What am I doing wrong ?

Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you!