Comments (8)
你这个情况比较特殊。
感觉你是想把文档放在yys下面,那就将.elog.env
和.elog/config.js
放在上一层文件夹,也就是和package.json同级,然后在.elog/config.js
中指定deploy.local.outputDir
字段设置为./yys
,图片输出路径也加上./yys
前缀,然后在.elog/config.js
所在的文件夹中运行 sync 命令就行了。
from elog.
![image](https://private-user-images.githubusercontent.com/37357188/279569007-77522689-10d1-44fc-8d1b-5beb33575085.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTczMjA3MDQsIm5iZiI6MTcxNzMyMDQwNCwicGF0aCI6Ii8zNzM1NzE4OC8yNzk1NjkwMDctNzc1MjI2ODktMTBkMS00NGZjLThkMWItNWJlYjMzNTc1MDg1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjAyVDA5MjY0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE3NTVkNGI5ZmYyNzkwOTllNGU3MDA4M2M5NjM2NDg4Yzk5OTUzODBiNWE1YTI4MWU5MzMxODRhNDQzYjQ0NTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.h49S8n5w8MIeqnuozC02UuuFNa_0pLaEC9TnL6yFD6M)
是不是像上面这样提示的
需要确认你的清理日志里的路径和你本地的路径是否一致
from elog.
from elog.
刚刚试了也还是不行,asset里面的图片是删了,但2022/2023这两个文件夹的内容还在
from elog.
看了下删除文件夹使用的库:rimraf,顺便问了下 GPT,有可能是rimraf使用上有点问题,其实是因为其他原因删除失败了,但是我没判断,以为是删除成功了。需要你排查一下这个文件夹的权限问题
或者试手动删除文件夹时 有没有提示权限等问题,按照 GPT 的提示看看
from elog.
我尝试修正一下 API,你升级本地版本或使用npx测试版本试一下0.9.1-beta.0
npx @elog/[email protected] clean
from elog.
升级了本地版本,重新去试了删除,如何。最终文件夹还是没删。我手动删2022/2023,是没问题的
from elog.
0.9.1-beta.4版本已解决
根本原因是资源占用问题。在 windows 上会出现这个问题,macos 没有复现
from elog.
Related Issues (20)
- 测试 Issues
- 语雀导出文档数量统计错误 HOT 4
- 删除文章 HOT 2
- 语雀账号密码模式手写frontMatter同步异常 HOT 5
- 能否支持astro平台的静态博客 HOT 1
- 可以写个语雀hexo的实例吗,尤其是github图床 HOT 1
- 同步flowus报错 HOT 4
- github图床问题 HOT 19
- 是否考虑一下发布文章撤销的功能 HOT 4
- 图床功能和hexo及windows平台的兼容性 HOT 4
- 🎉 Elog1.0 共建计划寻找小伙伴
- Support for Typecho blogging platform HOT 1
- Notion + Elog + github 图床,更新文章后封面图上传图片失败后变成空 HOT 5
- 我能否使用nextjs结合这个项目呢? HOT 10
- 捐赠渠道 HOT 1
- 你好,当notion作为write时,导出文件至本地时,notion内的Callout模块内容,存在异常情况 HOT 2
- 期待更多的template HOT 11
- 能不能支持多吉云的sdk啊,https://docs.dogecloud.com/oss/api-access-token?id=nodejs HOT 5
- 关于语雀与halo同步时封面图片链接未被替换的问题 HOT 3
- 同步飞书知识库时 “执行TypeScript脚本 下载出错: Cannot read properties of undefined (reading 'elements')” HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elog.