Plugins are not working. showing Not found error
Error Log is Like This.
Plugins are installed and clicked on plugin name. but it showing continuous loading. but not getting any plugin config page
also installed Facebook SSO.
showing error like below
2020-05-18T14:48:05.148885+00:00 heroku[router]: at=info method=GET path="/api/admin/plugins/google-analytics?_=1589813281229" host=forum.bustudymate.in request_id=b7dccd1a-4e2d-4ec9-bfbe-f981bde0102b fwd="220.127.116.11" dyno=web.1 connect=1ms service=19ms status=200 bytes=1255 protocol=https 2020-05-18T14:48:05.535969+00:00 heroku[router]: at=info method=GET path="/assets/templates/admin/plugins/google-analytics.js?v=n69g57bvs0s" host=forum.bustudymate.in request_id=393b526f-7f8c-4c81-963d-8a119b8dcba1 fwd="18.104.22.168" dyno=web.1 connect=1ms service=8ms status=404 bytes=439 protocol=https
./nodebb buildand restart your NodeBB.
@julian is that command required to run for every plugin install?
@julian Followed this. But not worked.
All plugins same problem.
Also i run ./nodebb plugins
It showed below output.
I installed and activated google analytics and Facebook SSO
But in console it showing not installed
./nodebb pluginsdoes not show it as installed, then it is not installed (or cannot be found in
node_modules/directory. Make sure you install it either from the ACP or via npm/yarn
npm i nodebb-plugin-whatever
@julian OK. So i have to install all plugins through terminal?? I've installed and activated from Dashboard.
Sometimes plugins installed from dashboard automatically deletes.
Because of how heroku works, you must install your plugins before deploying your site. You can do that through the ACP on your local machine of you wish, or with npm.
@PitaJ Yes. I got it now.. but when i update system all plugins installed are gone automatically. is there any command to add to package.json file? already installed plugins. but need to add without changing current production
You'll need to add it to
package.jsonon your local machine, and then
git commitit into Heroku... or something -- I don't really recall how Heroku works, but it's something like that.