Closed JackyWay closed 1 year ago
I have tested the version at PicGo-Setup-2.4.0-beta.5-x64
, and the plugin can be installed and used without any issues.
I require more information to pinpoint the problem.
I'm not certain about the exact cause, but if you can successfully install and use other plugins, you can try the following steps:
%APPDATA%\picgo\package.json
filepicgo-plugin-lychee
dependency from the dependencies section%APPDATA%\picgo\data.json
file, remove all configurations related to lychee%APPDATA%\picgo\node_modules\picgo-plugin-lychee
folder日志
0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using npm@9.8.1
2 info using node@v18.18.2
3 timing npm:load:whichnode Completed in 2ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 3ms
6 timing config:load:builtin Completed in 3ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:C:\Users\94338\AppData\Roaming\picgo\node_modules\picgo-plugin-lychee\.npmrc Completed in 0ms
10 timing config:load:project Completed in 3ms
11 timing config:load:file:C:\Users\94338\.npmrc Completed in 1ms
12 timing config:load:user Completed in 1ms
13 timing config:load:file:C:\Users\94338\AppData\Roaming\npm\etc\npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:setEnvs Completed in 1ms
16 timing config:load Completed in 12ms
17 timing npm:load:configload Completed in 12ms
18 timing config:load:flatten Completed in 2ms
19 timing npm:load:mkdirpcache Completed in 1ms
20 timing npm:load:mkdirplogs Completed in 0ms
21 verbose title npm exec only-allow pnpm
22 verbose argv "exec" "--" "only-allow" "pnpm"
23 timing npm:load:setTitle Completed in 1ms
24 timing npm:load:display Completed in 1ms
25 verbose logfile logs-max:10 dir:C:\Users\94338\AppData\Local\npm-cache\_logs\2023-10-18T12_49_30_032Z-
26 verbose logfile C:\Users\94338\AppData\Local\npm-cache\_logs\2023-10-18T12_49_30_032Z-debug-0.log
27 timing npm:load:logFile Completed in 16ms
28 timing npm:load:timers Completed in 0ms
29 timing npm:load:configScope Completed in 0ms
30 timing npm:load Completed in 61ms
31 silly logfile done cleaning log files
32 timing arborist:ctor Completed in 0ms
33 http fetch GET 200 https://registry.npmjs.org/only-allow 934ms (cache revalidated)
34 timing arborist:ctor Completed in 0ms
35 timing command:exec Completed in 961ms
36 verbose stack Error: ENOENT: no such file or directory, lstat 'C:\Users\94338\AppData\Roaming\npm'
37 verbose cwd C:\Users\94338\AppData\Roaming\picgo\node_modules\picgo-plugin-lychee
38 verbose Windows_NT 10.0.22621
39 verbose node v18.18.2
40 verbose npm v9.8.1
41 error code ENOENT
42 error syscall lstat
43 error path C:\Users\94338\AppData\Roaming\npm
44 error errno -4058
45 error enoent ENOENT: no such file or directory, lstat 'C:\Users\94338\AppData\Roaming\npm'
46 error enoent This is related to npm not being able to find a file.
46 error enoent
47 verbose exit -4058
48 timing npm Completed in 1376ms
49 verbose code -4058
50 error A complete log of this run can be found in: C:\Users\94338\AppData\Local\npm-cache\_logs\2023-10-18T12_49_30_032Z-debug-0.log
看上去没找到C:\Users\94338\AppData\Roaming\npm 但实际上现在18的默认安装目录在这里C:\Program Files\nodejs @ttionya
After I clicked Install, the plug-in did not show up. I didn't notice any errors as well. Could you take a look? I have tried both versions below, but neither of them can get this lychee plugin installed. PicGo-Setup-2.4.0-beta.5-x64 PicGo-Setup-2.3.1-x64_2