Open aknyzsd opened 3 months ago
在插件目录中执行 npm install 再试试?
貌似其他依赖euphoy的插件也出现上述问题 https://github.com/yuyumoko/LiteLoaderQQNT-Plugin-Eencode/issues/14#issuecomment-2311568706
在插件目录中执行 npm install 再试试?
E:\NTQQ\resources\app\LiteLoaderQQNT\plugins\arknights_plugin>npm install
up to date, audited 1 package in 536ms
found 0 vulnerabilities
PS C:\Users\Administrator\Documents\LiteloaderQQNT\plugins\Arknights_Plugin-v1.0.1> npm install npm error code ENOENT npm error syscall open npm error path C:\Users\Administrator\Documents\LiteloaderQQNT\plugins\Arknights_Plugin-v1.0.1\package.json npm error errno -4058 npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open 'C:\Users\Administrator\Documents\LiteloaderQQNT\plugins\Arknights_Plugin-v1.0.1\package.json' npm error enoent This is related to npm not being able to find a file. npm error enoent npm error A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache_logs\2024-11-12T10_32_11_620Z-debug-0.log emmm......是不是Adminstrator的锅
错误如下(已安装Euphony)
[Main] Cannot find module 'express' Require stack:
Error: Cannot find module 'express' Require stack:
at Module._resolveFilename (node:internal/modules/cjs/loader:1152:15) at s._resolveFilename (node:electron/js2c/browser_init:2:120699) at Module._load (node:internal/modules/cjs/loader:993:27) at f._load (node:electron/js2c/node_init:2:18640) at Module.require (node:internal/modules/cjs/loader:1240:19) at require (node:internal/modules/helpers:179:18) at Object. (C:\Users\Administrator\Documents\LiteloaderQQNT\plugins\Arknights_Plugin-v1.0.1\src\main.js:15:17)
at Module._compile (node:internal/modules/cjs/loader:1373:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1432:10)
at Module.load (node:internal/modules/cjs/loader:1215:32)