Home > Backend Development > PHP Tutorial > 安装插件socketLog的问题

安装插件socketLog的问题

WBOY
Release: 2016-06-20 12:33:13
Original
950 people have browsed it

1. 参考的这个网址
https://github.com/luofei614/SocketLog

其中有提到 

安装服务端npm install -g socketlog-server , 运行命令 socketlog-server 即可启动服务。 将会在本地起一个websocket服务 ,监听端口是1229 。 如果想服务后台运行: socketlog-server > /dev/null & 我们提供公用的服务端,需要去申请client_id : http://slog.thinkphp.cn/

我把下载的socketlog安装包放到了d盘  命令进入server下的bin目录以后

但是在执行命令npm install -g socketlog-server  提示npm不是内部或外部命令

其中提到的申请的client_id 也没找到配置的地方

请大家帮帮忙


回复讨论(解决方案)

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template