node-login icon indicating copy to clipboard operation
node-login copied to clipboard

login example depend on (node-koa-mongodb)

Results 5 node-login issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/26052806/38602275-d90600fc-3d9c-11e8-81f9-a803d5223249.png)

et user = await User.findOne({username}); 如果schema:定义用户名为Number,就这findOne就会报错,请问该如何处理

// 下面会代码执行时,会直接先跳过save的回掉处理,路由返回404,再执行err回掉,原因暂不清楚 // await newUser.save(err => { // if (err) { // ctx.body = result; // } else { // ctx.body = {success: true, message: '注册成功'} // } // })...

npm install > [email protected] install D:\workspace\node-login\node_modules\bcrypt > node-gyp rebuild D:\workspace\node-login\node_modules\bcrypt>if not defined npm_config_node_gyp (node "D:\nodeWeb\nodejs\node_global\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "D:\nodeWeb\nodejs\node_global\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) gyp ERR! configure error gyp ERR! stack Error:...