摘要: 安装包下载地址:mongodb-win32-x86_64-2.6.61.解压到当前文件夹,进到目录mongodb-win32-x86_64-2.6.6,在这里新建data文件夹, 2.进到data目录下,在这里新建db文件夹,3.命令行进到bin目录下,输入 mongod –db... 阅读全文
posted @ 2016-10-19 14:06 李一娜 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Error: Most middleware (like session) is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/... 阅读全文
posted @ 2016-10-16 18:18 李一娜 阅读(565) 评论(0) 推荐(0) 编辑
摘要: 用Node.js的时候使用connect-mongo这个模块的时候出现SyntaxError: Use of const in strict mode这个错误,看了一下其中src/index.js的代码,使用了const、let、"use strict"这些高大上的东西,我的解决方法是: ... 阅读全文
posted @ 2016-10-16 17:59 李一娜 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 装bootstrap的时候,先用sudo指令装了bower,但是一打 bower isntall bootstrap 就报错: Error: EACCES, permission denied '/Users/narumi/.config/configstore/bower-github.... 阅读全文
posted @ 2016-10-14 23:11 李一娜 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 在使用 bower 安装依赖包时有时会出现“permission denied”权限不足的问题,这时我们会想到用sudo,以root权限安装,但sudo后问题来了,又出现了”Cannot be run with sudo”问题。报错信息如下: Since bower is a user co... 阅读全文
posted @ 2016-10-14 23:09 李一娜 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 使用教程 ●windows用户: 1,下载windows版本的客户端,解压到你喜欢的目录 2,在命令行下进入到path/to/windows_386/下 3,执行 ngrok -config=ngrok.cfg -subdomain xxx 80 //(xxx 是你自定义的域名前缀)... 阅读全文
posted @ 2016-10-14 22:36 李一娜 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 1.windows上安装NodeJS 2.新建项目目录,如nodejs_wechat_bot,进入目录后安装express和weixin-api模块,具体方法是: npm install express npm install weixin-api 3.新建文件index.js,写入... 阅读全文
posted @ 2016-10-14 21:00 李一娜 阅读(451) 评论(0) 推荐(0) 编辑