[nodebb-plugin-reactions] Reactions plugin for NodeBB
-
Published
@nodebb/[email protected]
This includes the changes from @Antosik so it has a breaking change for themes. To add support in your custom theme include this where you want the reactions to show up.
<!-- IMPORT partials/topic/reactions.tpl -->
For example https://github.com/NodeBB/nodebb-theme-persona/commit/8cbad331ff9c8abe23e2a9a6d02d637857acbd2f
-
@baris Seems there's an issue with this. Once installed, it cannot be removed (comes up with an error in the admin page)
I'm also unable (it seems) to remove using
npm remove
from the CLI.I'm using v2 of NodeBB in dev (not prod obviously).
-
-
How to install for test ?
I have test
npm i @nodebb/nodebb-plugin-reactions
but I have error :npm i @nodebb/nodebb-plugin-reactions npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/nodebb-plugin-emoji npm ERR! nodebb-plugin-emoji@"4.0.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer nodebb-plugin-emoji@"^3.5.0" from @nodebb/[email protected] npm ERR! node_modules/@nodebb/nodebb-plugin-reactions npm ERR! @nodebb/nodebb-plugin-reactions@"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /home/nodebb/.npm/eresolve-report.txt for a full report.
-
@DownPW Were you able to find a fix for this? Just ran into this issue as well:
npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/nodebb-plugin-emoji npm ERR! nodebb-plugin-emoji@"4.0.2" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer nodebb-plugin-emoji@"^2.2.0" from [email protected] npm ERR! node_modules/nodebb-plugin-reactions npm ERR! nodebb-plugin-reactions@"*" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /home/nodebb/.npm/eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! /home/nodebb/.npm/_logs/2022-05-24T19_48_05_893Z-debug-0.log
-
@DownPW what is your URL in config.json? It must exactly match the URL at which you access the site in your browser.
-
Hello, I am trying to install this plugin with no success. I am running a Cloudron instance of node BB, and I can access the terminal (which, if I'm not mistaken, takes me to the docker container in which the node BB instance is installed/running.
My understanding is that the node BB community version of this plugin is no longer maintained actively and should not be expected to work.
However, it seems that there is a new, more maintained version. Here's what I tried:
user@site:/app/code# npm i @nodebb/nodebb-plugin-reactions npm WARN reify Removing non-directory /app/code/node_modules npm ERR! code EROFS npm ERR! syscall unlink npm ERR! path /app/code/node_modules npm ERR! errno -30 npm ERR! rofs EROFS: read-only file system, unlink '/app/code/node_modules' npm ERR! rofs Often virtualized file systems, or other file systems npm ERR! rofs that don't support symlinks, give this error.
I also tried
npm i @nodebb/[email protected]
, which gave the same output.Any help installing this would be greatly appreciated.
NodeBB 2.3.1