Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打包不能覆盖原来的dist文件夹,只能删除后再打包 #2211

Closed
PomL opened this issue Jun 10, 2019 · 3 comments
Closed

打包不能覆盖原来的dist文件夹,只能删除后再打包 #2211

PomL opened this issue Jun 10, 2019 · 3 comments

Comments

@PomL
Copy link

PomL commented Jun 10, 2019

每次打包都要删掉原来的dist文件夹,不然就会报错,要怎么样才能覆盖dist文件夹打包,不然每次都要删除打包很不方便

@oyty
Copy link

oyty commented Jun 10, 2019 via email

@MeMeLeevv
Copy link

我也遇到这种情况了,他提示“Error: EBUSY: resource busy or locked, rmdir 'E:\lw\blog\MeMeLeevv.github.io\dist'”,然后我才发现我在build文件夹里打开了cmd...,关掉后便能重新覆盖打包了,你可以在vscode的终端运行命令行

@PanJiaChen
Copy link
Owner

默认是删除原来dist的,如果有问题,看看是不是自己文件权限的问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants