随笔分类 -  nodejs

nodejs下遇到的问题
摘要:var app = require('express')(); var http = require('http').Server(app);var io = require('socket.io')(http); //服务端 io.on('connection',function(socket)) 阅读全文
posted @ 2016-08-27 00:12 即墨老久 阅读(2020) 评论(0) 推荐(0)
摘要:(1)通过 config 配置指向国内镜像源 (2)通过 npm 命令指定下载源 (3)在配置文件 ~/.npmrc 文件写入源地址 阅读全文
posted @ 2016-08-26 15:01 即墨老久 阅读(1617) 评论(0) 推荐(0)