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

运行pnpm build 出现报错 #4

Closed
duranshi opened this issue Sep 15, 2021 · 5 comments
Closed

运行pnpm build 出现报错 #4

duranshi opened this issue Sep 15, 2021 · 5 comments

Comments

@duranshi
Copy link

4471B0~1

并不是一直会报 偶尔打包出现这个问题

@duranshi
Copy link
Author

能不能看看,这个问题目前没发现哪里有问题,每次运行pnpm build都会这样 谢谢

@hooray
Copy link
Member

hooray commented Sep 15, 2021

手动删除下 dist 目录后再重新打包,看报错应该是 dist 目录下文件被占用,导致无法删除

@duranshi
Copy link
Author

搞定了

@duranshi
Copy link
Author

eval函数在哪里用到的 还有v::deep源码里也搜不到

@hooray
Copy link
Member

hooray commented Sep 16, 2021

eval 应该是 vite 构建工具里内置的,会先删除原始打包目录,然后在重新生成。
项目里没有使用到 ::v-deep ,已有最新语法 :deep() 代替

@hooray hooray closed this as completed Sep 16, 2021
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

2 participants