Comments (12)
看这个 https://github.com/go-cqhttp/node/tree/master/plugin/hot 安装 wordcloud.
需要python环境
from for-node.
我重新拉取了项目,配置的账号。在运行npm run dev 时遇到这个错误:
> dev
> cross-env NODE_ENV=development nodemon index.js
[nodemon] 2.0.16
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node index.js`
node:events:505
throw er; // Unhandled 'error' event
^
Error: connect ECONNREFUSED 0.0.0.0:6700
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16)
Emitted 'error' event on WebSocket instance at:
at emitErrorAndClose (/root/node/node_modules/ws/lib/websocket.js:874:13)
at ClientRequest.<anonymous> (/root/node/node_modules/ws/lib/websocket.js:736:5)
at ClientRequest.emit (node:events:527:28)
at Socket.socketErrorListener (node:_http_client:454:9)
at Socket.emit (node:events:527:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '0.0.0.0',
port: 6700
}
from for-node.
看主页的 README.md, 要先跑起来 go-cqhttp
from for-node.
登录QQ,需要扫描。但扫描会提示登录环境异常,导致登录失败。这个有办法解决吗?
使用登录协议是iPad。
from for-node.
from for-node.
去这个项目 https://github.com/Mrs4s/go-cqhttp 的 issues 下搜相关的方案.
from for-node.
感谢,我使用代理后,重新扫码可以登录了。
看主页的 README.md, 要先跑起来 go-cqhttp
现在我把这个go-cqhttp跑起来了,在到项目根目录下执行 npm run dev 命令时,还是会报错。
> dev
> cross-env NODE_ENV=development nodemon index.js
[nodemon] 2.0.16
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node index.js`
node:events:505
throw er; // Unhandled 'error' event
^
Error: connect ECONNREFUSED 0.0.0.0:6700
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16)
Emitted 'error' event on WebSocket instance at:
at emitErrorAndClose (/root/node/node_modules/ws/lib/websocket.js:874:13)
at ClientRequest.<anonymous> (/root/node/node_modules/ws/lib/websocket.js:736:5)
at ClientRequest.emit (node:events:527:28)
at Socket.socketErrorListener (node:_http_client:454:9)
at Socket.emit (node:events:527:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '0.0.0.0',
port: 6700
}
from for-node.
6700是ws的端口, 查一下 go-cqhttp 的 device.json 配置文件里 是否正确配置了 - ws:
from for-node.
https://docs.go-cqhttp.org/guide/config.html#%E9%85%8D%E7%BD%AE%E4%BF%A1%E6%81%AF
from for-node.
6700是ws的端口, 查一下 go-cqhttp 的 device.json 配置文件里 是否正确配置了 - ws:
对,忘了配置这里了。现在可以正常运行了。谢谢!! 舔狗日记的插件,需要添加什么token呀?
from for-node.
那个很久之前做的了, 可能已经失效了, 你去网上另外找接口吧
from for-node.
好的。再次感谢你的回复。
from for-node.
Related Issues (12)
- Action required: Greenkeeper could not be activated 🚨
- npm run dev时出错 HOT 2
- 插件不能多个运行 HOT 1
- 你好,我看了你的项目,觉得十分有意思 HOT 3
- 调用股票查询会生成一个chrome进程,之后不会关闭,累积导致服务器宕机 HOT 1
- 是否有群聊? HOT 1
- 怎么进行上下文交互? HOT 1
- [小程序]挺有意思,可以用这个写个小程序么 HOT 4
- 请问有没有群聊的聊天记录功能 HOT 2
- 大佬你好,提交一个BUG,当误启动2个npm run dev时,会创建2个webSocket HOT 5
- 更换图片接口后,发送图片速度慢 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from for-node.