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

Error: The specified module could not be found. #6

Closed
54Longwu opened this issue Aug 16, 2023 · 6 comments
Closed

Error: The specified module could not be found. #6

54Longwu opened this issue Aug 16, 2023 · 6 comments

Comments

@54Longwu
Copy link

插件加载不出来,但全部更新到最新版本
报错

@tym2008
Copy link

tym2008 commented Aug 19, 2023

去看这里面:
node_modules.pnpm@tensorflow+tfjs-node@3.18.0_seedrandom@2.4.4\node_modules@tensorflow\tfjs-node\lib
让两个文件夹(我是v8和v9,用的nodejsv20.5.1,windows server 2019),让里面都有tensorflow.dll和tfjs_binding.node,之后再试试
但是我第一次pnpm install的时候会提示无法创建链接啥的,要手动创建napi-v9这个文件夹才能正常pnpm install

@CikeyQi CikeyQi changed the title nsfwjs报错 Error: The specified module could not be found. Aug 20, 2023
@CikeyQi
Copy link
Owner

CikeyQi commented Aug 20, 2023

请下载 文件地址 下的 tensorflow.dlltfjs_binding.node 这两个文件放置在云崽根目录下的 Yunzai\node_modules\.pnpm\@tensorflow+tfjs-node@3.21.1_seedrandom@3.0.5\node_modules\@tensorflow\tfjs-node\lib\napi-v8 文件夹内,并在上一级的 lib 文件夹中新建 napi-v9 目录,再次运行 pnpm install --filter=nsfwjs-plugin 确认无报错即可解决。

参考文献:#4116

更多问题可在TensorFlow官方issues内搜索关键错误信息:issues

@54Longwu
Copy link
Author

image
苏打姐姐照你方法做了还是报错

@tym2008
Copy link

tym2008 commented Sep 29, 2023

试试崽根目录的node_modules.pnpm@tensorflow+tfjs-node@3.18.0_seedrandom@2.4.4\node_modules@tensorflow\tfjs-node\lib,之后在根目录pnpm i应该能解决(亲测winserver2019+trss崽正常)

@Conkine
Copy link

Conkine commented Apr 5, 2024

tfjs_binding.node

全局都没tfjs_binding.node,已经搜索整个yunzai目录

@tym2008
Copy link

tym2008 commented Apr 6, 2024

tfjs_binding.node

全局都没tfjs_binding.node,已经搜索整个yunzai目录

pnpm i了吗?node_modules/.pnpm/里面有tensorflow+tfjs-node的文件吗?再确认下

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

No branches or pull requests

4 participants