Giter Site home page Giter Site logo

Comments (10)

homuraLan avatar homuraLan commented on May 27, 2024

I'm not sure if it's due to the internet, Picgo didn't give me any prompts, and after multiple attempts, it finally succeeded.

from picgo-plugin-lychee.

ttionya avatar ttionya commented on May 27, 2024

Unable to reproduce, perhaps as you mentioned, it's due to network issues.

I will close this issue. If you encounter any other problems while using it, feel free to provide feedback.

from picgo-plugin-lychee.

homuraLan avatar homuraLan commented on May 27, 2024

Unable to reproduce, perhaps as you mentioned, it's due to network issues.

I will close this issue. If you encounter any other problems while using it, feel free to provide feedback.

Like this, I used PicGO Core, although the prompt was successful, it doesn't seem to recognize it

SyntaxError: Unexpected token '.'
    at Module._compile (internal/modules/cjs/loader.js:892:18)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Module.require (internal/modules/cjs/loader.js:849:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (C:\Users\xxxxx\.picgo\node_modules\picgo-plugin-lychee\lib\index.js:4:20)
    at Module._compile (internal/modules/cjs/loader.js:956:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
-------Error Stack End-------
2023-08-27 21:03:27 [PicGo ERROR] SyntaxError: Unexpected token '.'
------Error Stack Begin------
C:\Users\xxxxx\.picgo\node_modules\picgo-plugin-lychee\lib\uploader.js:36
        if (uploadedPhotoData.size_variants.original?.url) {
                                                     ^

SyntaxError: Unexpected token '.'
    at Module._compile (internal/modules/cjs/loader.js:892:18)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
    at Function.Module._load (internal/modules/cjs/loader.js:724:14)
    at Module.require (internal/modules/cjs/loader.js:849:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (C:\Users\xxxxx\.picgo\node_modules\picgo-plugin-lychee\lib\index.js:4:20)
    at Module._compile (internal/modules/cjs/loader.js:956:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
    at Module.load (internal/modules/cjs/loader.js:812:32)
-------Error Stack End-------
2023-08-27 21:03:27 [PicGo SUCCESS] 插件安装成功

image
image

from picgo-plugin-lychee.

ttionya avatar ttionya commented on May 27, 2024

What is your Node.js version?

PicGo-Core 1.5.0 and above recommend using Node.js version >=16.

PicGo should be installed with node.js >= 12 (v1.5.0-alpha.4 and small) & node.js >= 16 (since v1.5.0-alpha.5).

from picgo-plugin-lychee.

ttionya avatar ttionya commented on May 27, 2024

I suspect your Node.js version doesn't meet the requirement of >=16, and I don't consider this to be a bug either.

However, I'm more than willing to make the code compatible with a wider range of Node.js versions. I've already released v1.0.1, so you can give it a try.

from picgo-plugin-lychee.

homuraLan avatar homuraLan commented on May 27, 2024

I suspect your Node.js version doesn't meet the requirement of >=16, and I don't consider this to be a bug either.

However, I'm more than willing to make the code compatible with a wider range of Node.js versions. I've already released v1.0.1, so you can give it a try.

image

from picgo-plugin-lychee.

ttionya avatar ttionya commented on May 27, 2024

Typora's built-in PicGo-Core is packaged with Node.js v12.13 and PicGo-Core v1.4.7, which is below the required minimum version for the package. PicGo-Core 1.5.0 introduced new APIs, and this tool has been developed based on the new APIs introduced in version 1.5.0. I believe even version v1.0.1 won't work properly.

I suggest you download the latest version of PicGo-Core and use the Custom Command option in Typora to specify the latest version of PicGo-Core for your use.

from picgo-plugin-lychee.

homuraLan avatar homuraLan commented on May 27, 2024

Typora's built-in PicGo-Core is packaged with Node.js v12.13 and PicGo-Core v1.4.7, which is below the required minimum version for the package. PicGo-Core 1.5.0 introduced new APIs, and this tool has been developed based on the new APIs introduced in version 1.5.0. I believe even version v1.0.1 won't work properly.

I suggest you download the latest version of PicGo-Core and use the Custom Command option in Typora to specify the latest version of PicGo-Core for your use.

好,确实是这样,墓前一切正常

from picgo-plugin-lychee.

homuraLan avatar homuraLan commented on May 27, 2024

Typora's built-in PicGo-Core is packaged with Node.js v12.13 and PicGo-Core v1.4.7, which is below the required minimum version for the package. PicGo-Core 1.5.0 introduced new APIs, and this tool has been developed based on the new APIs introduced in version 1.5.0. I believe even version v1.0.1 won't work properly.

I suggest you download the latest version of PicGo-Core and use the Custom Command option in Typora to specify the latest version of PicGo-Core for your use.

image

from picgo-plugin-lychee.

homuraLan avatar homuraLan commented on May 27, 2024

Typora's built-in PicGo-Core is packaged with Node.js v12.13 and PicGo-Core v1.4.7, which is below the required minimum version for the package. PicGo-Core 1.5.0 introduced new APIs, and this tool has been developed based on the new APIs introduced in version 1.5.0. I believe even version v1.0.1 won't work properly.

I suggest you download the latest version of PicGo-Core and use the Custom Command option in Typora to specify the latest version of PicGo-Core for your use.

莫非picgo也有内置的

Typora's built-in PicGo-Core is packaged with Node.js v12.13 and PicGo-Core v1.4.7, which is below the required minimum version for the package. PicGo-Core 1.5.0 introduced new APIs, and this tool has been developed based on the new APIs introduced in version 1.5.0. I believe even version v1.0.1 won't work properly.

I suggest you download the latest version of PicGo-Core and use the Custom Command option in Typora to specify the latest version of PicGo-Core for your use.

UI版实测之后是1.0.1版本可以正常安装了之前的不知道

from picgo-plugin-lychee.

Related Issues (2)

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.