npm run启动项目,启动报错:Conflict: Multiple assets emit different content to the same filename index.html

今天启动一个vue项目报错:

npm run启动项目,启动报错:Conflict: Multiple assets emit different content to the same filename index.html_第1张图片

后来搜索了很多方法,结果原因是我vue项目的路径有中文导致的,改成没有中文的路径项目成功启动:

npm run启动项目,启动报错:Conflict: Multiple assets emit different content to the same filename index.html_第2张图片

如果你有同样的问题,也可以像我这样解决!!

你可能感兴趣的:(vue.js,javascript,前端)