nodeclub
nodeclub copied to clipboard
:baby_chick:Nodeclub 是使用 Node.js 和 MongoDB 开发的社区系统
## 问题一:  如图, 运行环境是 - ubuntu:16.04 - node:10.15 - redis"5.0 - mongo:4.0.5 运行命令是:`sudo make build`。这个报错不知道是从哪里来的 ## 问题二 config.js上面的注释确实有些看不懂。请问有例子可以参考么。像webo_key是什么,管理员怎么配置。还有`GITHUB_OAUTH`的`callbackURL`确实也不知道怎么配置 ## 感谢各位大佬,如果有好的建议欢迎提供给我
如果贴子中出现了谩骂侮辱性言论只能选择删除整个贴子,缺少举报或者屏蔽删除他人言论的机制 例如百度贴吧、discuz都具有举报功能

v8 内存溢出, 对--max-old-space-size --max-new-space-size无论设置多大仍溢出; 请问有其他方式可以解决溢出的问题吗
``` 1) test/api/v1/reply.test.js create ups should down: Uncaught AssertionError: expected 'up' to be 'down' + expected - actual -up +down at Assertion.fail (node_modules/should/lib/assertion.js:92:17) at Assertion.value (node_modules/should/lib/assertion.js:164:19) at Test. (test/api/v1/reply.test.js:157:34) at...
源码中support/support.js的作用是什么, 还有ep.all(‘user’, ‘user2’, ‘admin’, function (user, user2, admin) {}, 这个方法的作用是什么, 不知道何时会调用, 谢谢解惑
#### Description This PR fixes one or more vulnerable packages in the `npm` dependencies of this project. See the [Snyk test report](https://app.snyk.io/org/fengmk2/test/github/cb954843-04fd-4846-a4fe-a53538af4220/master..snyk-fix-i977kt) for more details. #### Snyk Project: [cnodejs/nodeclub:package.json](https://app.snyk.io/org/fengmk2/project/cb954843-04fd-4846-a4fe-a53538af4220) ####...
#### Description This PR fixes one or more vulnerable packages in the `npm` dependencies of this project. See the [Snyk test report](https://app.snyk.io/org/node-modules/test/github/1bdc843d-e951-4861-b813-30fab05a5899/master..snyk-fix-bpzduf) for more details. #### Snyk Project: [cnodejs/nodeclub:package.json](https://app.snyk.io/org/node-modules/project/1bdc843d-e951-4861-b813-30fab05a5899) ####...
Connect 500 TypeError: Cannot read property 'user' of undefined at exports.authUser (/root/qxl/nodeclub/middlewares/auth.js:94:18) at Layer.handle [as handle_request](/root/qxl/nodeclub/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/root/qxl/nodeclub/node_modules/express/lib/router/index.js:312:13) at /root/qxl/nodeclub/node_modules/express/lib/router/index.js:280:7 at Function.process_params (/root/qxl/nodeclub/node_modules/express/lib/router/index.js:330:12) at next (/root/qxl/nodeclub/node_modules/express/lib/router/index.js:271:10) at initialize (/root/qxl/nodeclub/node_modules/passport/lib/middleware/initialize.js:53:5)...