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: Cannot find module 'ws' #23

Open
clhui opened this issue Oct 26, 2024 · 2 comments
Open

启动时 Error: Cannot find module 'ws' #23

clhui opened this issue Oct 26, 2024 · 2 comments

Comments

@clhui
Copy link

clhui commented Oct 26, 2024

Error: Cannot find module 'ws'
Require stack:

  • I:\PycharmProjects\ComfyUI-aki-v1.4-old\custom_nodes\comfyui_fk_server\server\suanli.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1048:15)
    at Module._load (node:internal/modules/cjs/loader:901:27)
    at Module.require (node:internal/modules/cjs/loader:1115:19)
    at require (node:internal/modules/helpers:130:18)
    at Object. (I:\PycharmProjects\ComfyUI-aki-v1.4-old\custom_nodes\comfyui_fk_server\server\suanli.js:1:1675)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Module._load (node:internal/modules/cjs/loader:938:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'I:\PycharmProjects\ComfyUI-aki-v1.4-old\custom_nodes\comfyui_fk_server\server\suanli.js'
    ]
    }
@juehackr
Copy link
Owner

执行一下 server文件夹里面的 install.bat (windows) linux系统 执行 install.sh 或命令行进入到server目录执行 npm i

@clhui
Copy link
Author

clhui commented Oct 28, 2024

这个是做什么用的,我不安装这个,好像也能用

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

2 participants