Sign in

Vue source local installation error, how to solve

Micha93 edited in Tue, 19 Jul 2022

When a Vue project source code is deployed and installed locally, errors are always reported. If you get a copy of the source code, what should you pay attention to when deploying locally?

I'm a PHP developer. I don't know much about Vue. I've only learned about it. Excuse me




1 Replies
commented on Tue, 19 Jul 2022

According to the error message, the package transform Vue JSX is missing. Just install it

npm install babel-plugin-transform-vue-jsx --save-dev

If there are similar mistakes in the future, you can go http://npmjs.com Search for the package name on and install.