关于#vue.js#的问题:问题遇到的现象和发生背景

当我想运行npm run dev报错

```python
98% after emitting CopyPlugin

ERROR Failed to compile with 1 error 12:29:29

error in ./src/main.js

Syntax Error: Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'D:\work\tzh\ysgb.cn.tzh\ysgb.cn.tzh.ui\node_modules@vue\cli-plugin-babel\preset' imported from D:\work\tzh\ysgb.cn.tzh\ysgb.cn.tzh.ui\babel-virtual-resolve-base.js
at Generator.next ()
at new Promise ()
at Generator.next ()

```这个要怎么做才会成功

从头开始再运行,解决了

没装依赖,
先执行npm install 再执行npm run dev就可以了