日志文件的错误
------Error Stack Begin------
Error: Cannot find module 'C:\Users\sunwedone\AppData\Roaming\picgo\node_modules\picgo-plugin-gitee-uploader\dist\index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (node:internal/modules/cjs/loader:360:19)
at Function.Module._findPath (node:internal/modules/cjs/loader:573:18)
at Module._resolveFilename (node:internal/modules/cjs/loader:926:27)
at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128)
at Module._load (node:internal/modules/cjs/loader:785:27)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:94:18)
at gt.getPlugin (D:\Program Files\picgo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:40557)
at gt.registerPlugin (D:\Program Files\picgo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:39680)
-------Error Stack End-------
描述bug uploader一直安装不上 根据日志文件是因为index.js的缺失
步骤 无论用命令行,软件还是上传本地文件都装不上。Picgo版本2.3.1,x64的。
日志文件的错误 ------Error Stack Begin------ Error: Cannot find module 'C:\Users\sunwedone\AppData\Roaming\picgo\node_modules\picgo-plugin-gitee-uploader\dist\index.js'. Please verify that the package.json has a valid "main" entry at tryPackage (node:internal/modules/cjs/loader:360:19) at Function.Module._findPath (node:internal/modules/cjs/loader:573:18) at Module._resolveFilename (node:internal/modules/cjs/loader:926:27) at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1128) at Module._load (node:internal/modules/cjs/loader:785:27) at Function.c._load (node:electron/js2c/asar_bundle:5:13331) at Module.require (node:internal/modules/cjs/loader:1012:19) at require (node:internal/modules/cjs/helpers:94:18) at gt.getPlugin (D:\Program Files\picgo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:40557) at gt.registerPlugin (D:\Program Files\picgo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:39680) -------Error Stack End-------