Home  >  Q&A  >  body text

javascript - Failed to compile with 1 errors pops up when Vue starts

vue has been successfully introduced, why is this error still reported? I deleted vue2 before and replaced it with vue1.
Error content:

ERROR  Failed to compile with 1 errors                                                                                                                                                                                    

This dependency was not found:

* vue in ./src/main.js

To install it, you can run: npm install --save vue
> Listening at http://localhost:8080

Please solve it~What is the problem

習慣沉默習慣沉默2686 days ago6583

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-16 13:33:55

    The error message reminds you that you need to install vue and the commands are all written

    reply
    0
  • Cancelreply