Unable to install plugin

NodeBB Plugins
  • Whenever I install the plugin, it shows PLUGIN UNINSTALLED The plugin has been successfully deactivated and uninstalled. It was not installed earlier and doesn't show in the installed plugin as well. I tried to rebuild and restart quite a few times but doesn't work.

    I am using NodeBB v1.16.2

    The plugin I am trying to install: nodebb-plugin-whitelist-email-domains

    But I face this problem with all the plugins I tried.

  • @piyush try installing with npm after opening a terminal in your nodebb folder.

    npm install nodebb-plugin-whitelist-email-domains
    

    then go to plugin page and activate it, rebuild and restart.


Suggested Topics


  • 0 Votes
    4 Posts
    576 Views

    Can you repro these on a brand new install of 1.10.2? How about 1.10.1?

  • 3 Votes
    4 Posts
    2k Views

    @mudmanc4 Thanks!

  • 0 Votes
    1 Posts
    1k Views

    I obtain this error when I try to access to category but the google console don't give me some details but only that the error is:
    "Cannot read property 'locked' of null"

    nodebb.min.js:25243 Uncaught TypeError: Cannot read property

    at this line:
    helpers.generateTopicClass = function(topic) {
    var style = [];
    //at this line
    if (topic.locked) {
    style.push('locked');
    }

    if (topic.pinned) { style.push('pinned'); } if (topic.deleted) { style.push('deleted'); } if (topic.unread) { style.push('unread'); } return style.join(' '); };

    I think is for the async.waterfall call because
    function(data,callback){
    async.waterfall([
    function(next){
    //someOperation
    next(null,topic);

    }],function(err,topic){
    data.category.topics = topic.concat(data.category.topics);
    });

    Anyone can help me?

  • 4 Votes
    8 Posts
    4k Views

    @Jenkler said:

    when to use ./ and when not to?

    To answer your earlier inquiry... in general it should be safe to use both. When paths are passed in plugin configs, we run them through path.join to remove relative relations and double slashes, etc. In all cases (exceptions are bugs), the path should be relative from the plugin directory itself.

  • 1 Votes
    6 Posts
    4k Views

    Giving this a huge bump.
    Currently struggeling to get a phpBB 3.0.X version migrated.

    Which plugin shall I use actually? There are so many versions of the phpBB importer available.
    Personally I have tested this and the 3.1 one.

    These two returnt the following

    2018-07-07T10:17:11.049Z [7323] - error: message=Cannot find module '/home/web/nodebb/nodebb-plugin-import-phpbb' & Cannot find module './build/index.js', stack=Error: Cannot find module '/home/web/nodebb/nodebb-plugin-import-phpbb' & Cannot find module './build/index.js' at nodebbRequire (/home/web/nodebb/node_modules/nodebb-plugin-require/index.js:72:10) at safeRequire (/home/web/nodebb/node_modules/nodebb-plugin-import/server/exporter/index.js:41:9) at searchModulesCache (/home/web/nodebb/node_modules/nodebb-plugin-import/server/exporter/index.js:24:13) at reloadModule (/home/web/nodebb/node_modules/nodebb-plugin-import/server/exporter/index.js:47:3) at /home/web/nodebb/node_modules/nodebb-plugin-import/server/exporter/index.js:556:24 at cb (/home/web/nodebb/node_modules/npm/lib/install.js:253:18) at /home/web/nodebb/node_modules/npm/lib/install.js:351:7 at LOOP (/home/web/nodebb/node_modules/npm/node_modules/slide/lib/chain.js:7:26) at /home/web/nodebb/node_modules/npm/node_modules/slide/lib/chain.js:18:7 at tryCatcher (/home/web/nodebb/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23) at Promise.successAdapter [as _fulfillmentHandler0] (/home/web/nodebb/node_modules/npm/node_modules/bluebird/js/release/nodeify.js:22:30) at Promise._settlePromise (/home/web/nodebb/node_modules/npm/node_modules/bluebird/js/release/promise.js:566:21) at Promise._settlePromise0 (/home/web/nodebb/node_modules/npm/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/home/web/nodebb/node_modules/npm/node_modules/bluebird/js/release/promise.js:693:18) at Async._drainQueue (/home/web/nodebb/node_modules/npm/node_modules/bluebird/js/release/async.js:133:16) at Async._drainQueues (/home/web/nodebb/node_modules/npm/node_modules/bluebird/js/release/async.js:143:10) at Immediate.Async.drainQueues [as _onImmediate] (/home/web/nodebb/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14) at runCallback (timers.js:810:20) at tryOnImmediate (timers.js:768:5) at processImmediate [as _immediateCallback] (timers.js:745:5)

    It seems like both versions are heavily outdated. Would be great, if I could be spared a conversion from phpBB to SMF to NodeBB.

    Shall I use an older version of NodeBB maybe to perform the import?
    What was the last one known to be working with this plugin? 0.6 or 0.7?