Ark-Aak / Arknights_Plugin

7 stars 0 forks source link

加载插件出现报错 #1

Open aknyzsd opened 3 months ago

aknyzsd commented 3 months ago

错误如下(已安装Euphony) {A56D997F-D7F5-4127-B9D3-6F4D1FE7FF1C}

[Main] Cannot find module 'express' Require stack:

Ark-Aak commented 3 months ago

在插件目录中执行 npm install 再试试?

aknyzsd commented 2 months ago

貌似其他依赖euphoy的插件也出现上述问题 https://github.com/yuyumoko/LiteLoaderQQNT-Plugin-Eencode/issues/14#issuecomment-2311568706

Viomeat commented 3 weeks ago

在插件目录中执行 npm install 再试试?

E:\NTQQ\resources\app\LiteLoaderQQNT\plugins\arknights_plugin>npm install

up to date, audited 1 package in 536ms

found 0 vulnerabilities

aknyzsd commented 2 weeks ago

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的锅