ttionya/picgo-plugin-lychee

Unable to install

Closed this issue · 10 comments

Picgo V2.3 or V2.4.0 beta. 4 cannot be installed in Windows 11. After clicking on install, there is no response. I have already installed node

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.

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.

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

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).

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.

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

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.

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.

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

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

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版本可以正常安装了之前的不知道