kwp-lab / picgo-plugin-vikadata Goto Github PK
View Code? Open in Web Editor NEW基于 Picgo 开发的一款上传插件,你可以方便地将本地文件(图片、文档、PDF等等各种格式的文件)上传至vika维格表。
License: MIT License
基于 Picgo 开发的一款上传插件,你可以方便地将本地文件(图片、文档、PDF等等各种格式的文件)上传至vika维格表。
License: MIT License
显示已安装,但是实际并没安装成功,没出现编辑按钮。
按照readme配置说明,配置完成之后,上传图片报如下错误:
2024-03-08 10:24:48 [PicGo INFO] [PicGo Server] upload result
2024-03-08 10:24:48 [PicGo WARN] [PicGo Server] upload failed, see picgo.log for more detail ↑
2024-03-08 10:28:35 [PicGo INFO] Before transform
2024-03-08 10:28:35 [PicGo INFO] beforeTransformPlugins: vika running
2024-03-08 10:28:35 [PicGo INFO] Transforming... Current transformer is [path]
2024-03-08 10:28:35 [PicGo INFO] Before upload
2024-03-08 10:28:35 [PicGo INFO] beforeUploadPlugins: vika running
2024-03-08 10:28:35 [PicGo INFO] beforeUploadPlugins: renameFn running
2024-03-08 10:28:35 [PicGo INFO] Uploading... Current uploader is [vika]
2024-03-08 10:28:35 [PicGo WARN] failed
2024-03-08 10:28:35 [PicGo ERROR] {
"method": "POST",
"url": "",
"statusCode": 0,
"message": "Cannot read properties of null (reading 'replace')",
"stack": "Error: Cannot read properties of null (reading 'replace')\n at dispatchHttpRequest (E:\tools\PicGo\resources\app.asar\node_modules\picgo\node_modules\axios\lib\adapters\http.js:161:23)\n at new Promise ()\n at httpAdapter (E:\tools\PicGo\resources\app.asar\node_modules\picgo\node_modules\axios\lib\adapters\http.js:49:10)\n at dispatchRequest (E:\tools\PicGo\resources\app.asar\node_modules\picgo\node_modules\axios\lib\core\dispatchRequest.js:58:10)\n at async Uploader.uploadAttachmentsToEachRecord (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\picgo-plugin-vikadata\dist\uploader.js:47:38)\n at async Uploader.handle (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\picgo-plugin-vikadata\dist\uploader.js:138:13)\n at async Object.handle (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\picgo-plugin-vikadata\dist\index.js:59:17)\n at async $e.doUpload (E:\tools\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:17198)\n at async $e.start (E:\tools\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:15969)\n at async Tt.upload (E:\tools\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:71270)",
"response": {
"status": 0,
"statusCode": 0,
"body": ""
}
}
2024-03-08 10:28:35 [PicGo ERROR] {
"method": "POST",
"url": "",
"statusCode": 0,
"message": "Cannot read properties of null (reading 'replace')",
"stack": "Error: Cannot read properties of null (reading 'replace')\n at dispatchHttpRequest (E:\tools\PicGo\resources\app.asar\node_modules\picgo\node_modules\axios\lib\adapters\http.js:161:23)\n at new Promise ()\n at httpAdapter (E:\tools\PicGo\resources\app.asar\node_modules\picgo\node_modules\axios\lib\adapters\http.js:49:10)\n at dispatchRequest (E:\tools\PicGo\resources\app.asar\node_modules\picgo\node_modules\axios\lib\core\dispatchRequest.js:58:10)\n at async Uploader.uploadAttachmentsToEachRecord (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\picgo-plugin-vikadata\dist\uploader.js:47:38)\n at async Uploader.handle (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\picgo-plugin-vikadata\dist\uploader.js:138:13)\n at async Object.handle (C:\Users\Administrator\AppData\Roaming\picgo\node_modules\picgo-plugin-vikadata\dist\index.js:59:17)\n at async $e.doUpload (E:\tools\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:17198)\n at async $e.start (E:\tools\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:15969)\n at async Tt.upload (E:\tools\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:71270)",
"response": {
"status": 0,
"statusCode": 0,
"body": ""
}
}
怎么解决呢?
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.