Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install #1

Closed
homuraLan opened this issue Aug 27, 2023 · 10 comments
Closed

Unable to install #1

homuraLan opened this issue Aug 27, 2023 · 10 comments
Labels
enhancement New feature or request

Comments

@homuraLan
Copy link

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

@homuraLan
Copy link
Author

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.

@ttionya
Copy link
Owner

ttionya commented Aug 27, 2023

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.

@ttionya ttionya closed this as completed Aug 27, 2023
@ttionya ttionya added the wontfix This will not be worked on label Aug 27, 2023
@homuraLan
Copy link
Author

homuraLan commented Aug 27, 2023

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

@ttionya
Copy link
Owner

ttionya commented Aug 27, 2023

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

@ttionya ttionya reopened this Aug 27, 2023
@ttionya
Copy link
Owner

ttionya commented Aug 27, 2023

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.

@ttionya ttionya closed this as completed Aug 27, 2023
@ttionya ttionya added enhancement New feature or request and removed wontfix This will not be worked on labels Aug 27, 2023
@homuraLan
Copy link
Author

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

@ttionya
Copy link
Owner

ttionya commented Aug 28, 2023

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.

@homuraLan
Copy link
Author

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.

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

@homuraLan
Copy link
Author

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

@homuraLan
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants