admin管理员组

文章数量:1632804

报错

Source and destination must not be the same.
Error: Source and destination must not be the same.
    at Object.checkPathsSync (...\node_modules\fs-extra\lib\util\stat.js:52:11)

原因

stat.js 中打断点,发现dist 目录下有index.html

(vue-cli 将dist/index.html认为入口了?所以报源与目标不能相同。)

解决

删除dist目录。(删除vue-cli 的输出目录)

npm run serve

本文标签: CLIvuedestinationSource