chengww5217 / picgo-plugin-qingstor-uploader Goto Github PK
View Code? Open in Web Editor NEWA plugin for PicGo with the addition of the QingStor image hosting.
License: MIT License
A plugin for PicGo with the addition of the QingStor image hosting.
License: MIT License
如何在源码开发的时候测试呢?
不知道是否是青云返回的Url规则改变了,返回的地址无法正常使用。查看后发现规则变更为${url.protocol}://${qingstorOptions.bucket}.${qingstorOptions.zone}.${url.host}${path}/${imgList[i].fileName} 可以正常使用
我是2023年4月10日注册的青云,使用对象云存储的,不知道会不会对之前用户产生影响。我已经手动在index.js中改过来了,问题不大。
最后,感谢作者!!!
在线安装成功后重启,然后点插件设置就报错了。找了一天才发现是这个插件的问题。。。
2019-05-26 01:44:37 [PicGo ERROR] Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\picgo\node_modules\picgo-plugin-qingstor-uploader'
------Error Stack Begin------
Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\picgo\node_modules\picgo-plugin-qingstor-uploader'
at Module._resolveFilename (internal/modules/cjs/loader.js:584:15)
at Function.Module._resolveFilename (D:\Program Files\picGo\resources\electron.asar\common\reset-search-paths.js:43:12)
at Function.Module._load (internal/modules/cjs/loader.js:510:25)
at Module.require (internal/modules/cjs/loader.js:640:17)
at require (internal/modules/cjs/helpers.js:20:18)
at PluginLoader.getPlugin (D:\Program Files\picGo\resources\app.asar\node_modules\picgo\dist\lib\PluginLoader.js:76:16)
at PluginLoader.load (D:\Program Files\picGo\resources\app.asar\node_modules\picgo\dist\lib\PluginLoader.js:57:26)
at PicGo.init (D:\Program Files\picGo\resources\app.asar\node_modules\picgo\dist\core\PicGo.js:61:31)
at new PicGo (D:\Program Files\picGo\resources\app.asar\node_modules\picgo\dist\core\PicGo.js:36:14)
at X (D:\Program Files\picGo\resources\app.asar\dist\electron\main.js:1:61121)
-------Error Stack End-------
把插件删除后,安装其它的插件picgo-plugin-github-plus
可以正常使用。基本断定是这个插件的问题。系统环境是win8.1,node10,picgo2.1.2。插件安装页面显示是1.1.9,但是源码里面我看到的是1.2。
版本 PicGo 2.3.0
插件版本 1.2.1
2021-10-03 20:19:50 [PicGo ERROR]
------Error Stack Begin------
SyntaxError: Unexpected token E in JSON at position 0
at JSON.parse ()
at Object.handleError (/Users/wang/Library/Application Support/picgo/node_modules/picgo-plugin-qingstor-uploader/dist/utils/index.js:97:23)
at Object.handle (/Users/wang/Library/Application Support/picgo/node_modules/picgo-plugin-qingstor-uploader/dist/index.js:35:17)
at processTicksAndRejections (internal/process/task_queues.js:89:5)
-------Error Stack End-------
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.