问题描述
我刚刚与 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 (将#修改为@)