Giter VIP home page Giter VIP logo

Comments (3)

Kuingsmile avatar Kuingsmile commented on June 16, 2024

@vaxl029

问题定位

问题来自于兰空插件自带的同步删除功能
image

在PicGo或者PicList里,使用这个插件都可以得到相同的错误日志记录:

image
image

问题定位在插件的index.js文件中的第40行:
image

这里返回的body已经是对象了,所以不能去做JSON.parse(),导致报错,由于PicList里没有捕获这个异常,所以表现为PicList自动退出

解决方案

这个文件的路径是%APPDATA%\piclist\node_modules\picgo-plugin-lankong\dist\index.js, 注释掉这一句就ok了,如下
image

或者直接用我修改后的文件替换掉原文件,然后重启piclist就可以了

index.zip

from piclist.

vaxl029 avatar vaxl029 commented on June 16, 2024

经测试可行,感谢

from piclist.

jixintangen avatar jixintangen commented on June 16, 2024

刚装完lsky,也遇到了这个问题,来翻issues,感谢

from piclist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.