PicGo上传失败
TypeError:Cannot destructure property position of undefined` or ‘null’
发现问题
bash
TypeError: Cannot destructure property position of 'undefined' or 'null'.
at Object.exports.parseAndValidate (C:\Users\ma\AppData\Roaming\picgo\node_modules\picgo-plugin-watermark\lib\util.js:50:11)
at Object.handle (C:\Users\ma\AppData\Roaming\picgo\node_modules\picgo-plugin-watermark\lib\index.js:9:124)
at C:\software\PicGo\resources\app.asar\node_modules\picgo\dist\src\core\Lifecycle.js:113:30
at Array.map ()
at Lifecycle.handlePlugins (C:\software\PicGo\resources\app.asar\node_modules\picgo\dist\src\core\Lifecycle.js:110:35)
at Lifecycle.beforeTransform (C:\software\PicGo\resources\app.asar\node_modules\picgo\dist\src\core\Lifecycle.js:45:20)
at Lifecycle.start (C:\software\PicGo\resources\app.asar\node_modules\picgo\dist\src\core\Lifecycle.js:23:24)
at PicGo.upload (C:\software\PicGo\resources\app.asar\node_modules\picgo\dist\src\core\PicGo.js:205:53)
at Object.upload (C:\software\PicGo\resources\app.asar\background.js:36:29205)
at Pt (C:\software\PicGo\resources\app.asar\background.js:36:31652)
-------Error Stack End-------
2021-10-25 18:48:00 [PicGo WARN] [PicGo Server] upload failed, see picgo.log for more detail ↑

解决问题
经过分析,错误,发现是picgo-plugin-watermark这个模块的错误,就是添加水印的模块出错了,导致上传失败,只要把这个模块禁用一下就可以了。

Windows常见问题
CMD乱乱码、PowerShell乱码
如图所示:

解决方法
在终端输入这个就行
bash
CHCP 65001

Foxmail连不上Google邮箱问题
遇到问题
解决问题
去官网升级到最新版的就没事了
{% note blue ‘fas fa-link’ flat %}
{% endnote %}
Docker 启动MongoDB没有反应
docker-compose部署完MongoDB后进入容器,启动容器时发现失败
bash
root@6cc59749c70c:/# mongo mongodb://localhost:27017 -u lil8 -p a5
bash: mongo: command not found
解决方法
将mongo改为mongosh就可以了
bash
mongosh mongodb://localhost:27017 -u lilbai -p a5
MySQL忘记数据库密码
mysql初始密码文件路径:/etc/mysql/debian.cnf

本文是原创文章,采用 CC BY-NC-SA 4.0 协议,完整转载请注明来自 小码同学
评论
隐私政策
0/500
滚动到此处加载评论...

