如何解决无法删除文件/目录
我刚刚与 Astro 开始了一个博客模板项目。 https://astro.build/
我的项目文件夹是 C:/web/astro-test-1/,我想使用 npm run build
将我的构建部署到位于 C:/wamp64/www/astro/ 的本地服务器。
我将 astro.config.mjs 设置如下:
dist: './../../wamp64/www/astro'
此版本仅在文件夹不存在时才有效。
我的错误:
[build] Error: Cannot delete files/directories outside the current working directory. Can be overridden with the `force` option.
在何处以及如何设置 force
选项?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。