
typora 配置picgo-core出现env: node: No such file or directory的解决方法
typora 配置picgo-core出现env: node: No such file or directory的解决方法
系统为Mac os ,使用的是picgo-core,下面是配置截图
之所以会出现env: node: No such file or directory错误是因为一开始我的typora 配置picgo-core就是错误的
因为在自定义上传命令,只填写了/usr/bin/picgo
正确的方法要先填写node的地址,在填写picgo的位置
至于这两个的路径位置,可以使用下面命令获取
picgo-core安装的方法,首先系统要安装好nodejs,
1
2
3
4
which node
/usr/local/bin/node
which pigco
/usr/local/bin/picgo
然后执行下面命令安装picgo-core
1
2
3
4
npm install picgo -g //安装picgo-core
picgo add s3 //安装picgo-core兼容s3协议的对象存储插件,比如digitalocean 的space空间
picgo set uploader aws-s3 //设置 aws-s3的信息
picgo upload demo.png//测试上传图片
参考 https://github.com/wayjam/picgo-plugin-s3?src=vpslala.com
💘 相关文章
- linux stdio.h: No such file or directory的解决方法
- supervisor Error: File contains no section headers的解决方法
- Yarn install command error No such file or directory: 'install'的解决方法
- make: *** No targets specified and no makefile found. Stop.的解决方法
- 比Typora要好的Markdown编辑工具-Yu Writer Pro
- 轻量级,简介,舒适的跨平台Markdown编辑器-Typora
- error: exec: "apparmor_parser": executable file not found in $PATH错误
- truenas出现"pkg: file:///usr/ports/packages/packagesite.pkg: No such file or directory"的解决方法