Giter Site home page Giter Site logo

nodebb-plugin-reactions's Introduction

nodebb-plugin-reactions

Reactions plugin for NodeBB

Installation

Install via one-click activation in the Admin Control Panel or run the following command:

npm i @nodebb/nodebb-plugin-reactions

Screenshots

Reactions:

demo

ACP:

acp

nodebb-plugin-reactions's People

Contributors

alicihan avatar antosik avatar artch avatar barisusakli avatar nhlpl avatar pichalite avatar pitaj avatar saikarthikp9 avatar shlomocode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nodebb-plugin-reactions's Issues

Error while using this plugin

So, since installing this plugin, I've been facing some erros at the logs. Can't figure out what is causing it. Any ideas ? Thank you.

Jul 23 10:46:05 web05 nodebb[25464]: 2019-07-23T08:46:05.465Z [/var/run/nodebb/nodebb_0.sock/25597] - #033[32minfo#033[39m: [app] Shutdown (SIGTERM/SIGINT) Initialised.
Jul 23 10:46:05 web05 nodebb[25464]: 2019-07-23T08:46:05.522Z [/var/run/nodebb/nodebb_1.sock/25568] - #033[31merror#033[39m: uncaughtException: Cannot read property 'pid' of null
Jul 23 10:46:05 web05 nodebb[25464]: TypeError: Cannot read property 'pid' of null
Jul 23 10:46:05 web05 nodebb[25464]:     at totalReactions (/webdir/node_modules/nodebb-plugin-reactions/library.js:155:32)
Jul 23 10:46:05 web05 nodebb[25464]:     at /webdir/node_modules/async/dist/async.js:3880:24
Jul 23 10:46:05 web05 nodebb[25464]:     at replenish (/webdir/node_modules/async/dist/async.js:1011:17)
Jul 23 10:46:05 web05 nodebb[25464]:     at iterateeCallback (/webdir/node_modules/async/dist/async.js:995:17)
Jul 23 10:46:05 web05 nodebb[25464]:     at /webdir/node_modules/async/dist/async.js:969:16
Jul 23 10:46:05 web05 nodebb[25464]:     at /webdir/node_modules/async/dist/async.js:3885:13
Jul 23 10:46:05 web05 nodebb[25464]:     at /webdir/node_modules/nodebb-plugin-reactions/library.js:151:7
Jul 23 10:46:05 web05 nodebb[25464]:     at /webdir/src/meta/settings.js:14:3
Jul 23 10:46:05 web05 nodebb[25464]:     at /webdir/src/database/mongo/hash.js:46:4
Jul 23 10:46:05 web05 nodebb[25464]:     at returnData (/webdir/src/database/mongo/hash.js:100:4) {"error":{},"stack":"TypeError: Cannot read property 'pid' of null\n    at totalReactions (/webdir/node_modules/nodebb-plugin-reactions/library.js:155:32)\n    at /webdir/node_modules/async/dist/async.js:3880:24\n    at replenish (/webdir/node_modules/async/dist/async.js:1011:17)\n    at iterateeCallback (/webdir/node_modules/async/dist/async.js:995:17)\n    at /webdir/node_modules/async/dist/async.js:969:16\n    at /webdir/node_modules/async/dist/async.js:3885:13\n    at /webdir/node_modules/nodebb-plugin-reactions/library.js:151:7\n    at /webdir/src/meta/settings.js:14:3\n    at /webdir/src/database/mongo/hash.js:46:4\n    at returnData (/webdir/src/database/mongo/hash.js:100:4)","exception":true,"date":"Tue Jul 23 2019 10:46:05 GMT+0200 (CEST)","process":{"pid":25568,"uid":1003,"gid":1004,"cwd":"/webdir","execPath":"/usr/local/bin/node","version":"v8.11.3","argv":["/usr/local/bin/node","/webdir/app.js"],"memoryUsage":{"rss":157782016,"heapTotal":115888128,"heapUsed":104414128,"external":36517688}},"os":{"loadavg":[1.37451171875,0.8349609375,0.9990234375],"uptime":12763227},"trace":[{"column":32,"file":"/webdir/node_modules/nodebb-plugin-reactions/library.js","function":"totalReactions","line":155,"method":null,"native":false},{"column":24,"file":"/webdir/node_modules/async/dist/async.js","function":null,"line":3880,"method":null,"native":false},{"column":17,"file":"/webdir/node_modules/async/dist/async.js","function":"replenish","line":1011,"method":null,"native":false},{"column":17,"file":"/webdir/node_modules/asyn
Jul 23 10:46:05 web05 nodebb[25464]: c/dist/async.js","function":"iterateeCallback","line":995,"method":null,"native":false},{"column":16,"file":"/webdir/node_modules/async/dist/async.js","function":null,"line":969,"method":null,"native":false},{"column":13,"file":"/webdir/node_modules/async/dist/async.js","function":null,"line":3885,"method":null,"native":false},{"column":7,"file":"/webdir/node_modules/nodebb-plugin-reactions/library.js","function":null,"line":151,"method":null,"native":false},{"column":3,"file":"/webdir/src/meta/settings.js","function":null,"line":14,"method":null,"native":false},{"column":4,"file":"/webdir/src/database/mongo/hash.js","function":null,"line":46,"method":null,"native":false},{"column":4,"file":"/webdir/src/database/mongo/hash.js","function":"returnData","line":100,"method":null,"native":false}]}```

v2.8.1 Support

I'd love to see it working with the latest stable version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.