-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Building web component via cli works only once #3662
Comments
Can't reproduce this. Can you share a repository to reproduce it better maybe? |
Ofcourse, every time :). Check out my repo: https://github.com/raibait/vue-web-cpnt-bug |
The root cause here: The So when the There's little we can do for this issue. Maybe adding a warning when |
Version
3.5.0
Environment info
Steps to reproduce
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 ?
What is expected?
to rebuild web component every time I want it
What is actually happening?
it runs only once, on a clean project and then got error 404 every next time
removing package-lock and node_modules , then 'npm install' helps
The text was updated successfully, but these errors were encountered: