DEV Community

Discussion on: Error on build in vue project

Collapse
 
aarone4 profile image
Aaron Reese

I has similar problems pulling down a Vue2 app to a new machine. Eventually set up a new Vue 3 app and migrated everything across. It took time and was painful
Delete all the node packages and reinstall.
Remove all your components, router and sass files and go back to a base Hello Word app
If this works start adding things back in. If not, create a new project and start copying stuff across until it breaks

Collapse
 
zanetti4 profile image
zanetti4

Thank you so much! I'll try it. If it doesn't work, I would create a new Vue 3 app. After all, I only want to use a couple of views in it. The current app based on Vue 1 is too old and its developer is a previous engineer.

Collapse
 
aaronre16397861 profile image
Aaron Reese

I would definately be moving that over to Vue 3. Probably less effort overall if the app is of any size.