[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.