• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. 5o1
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    5o1

    @5o1

    0
    Reputation
    250
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    5o1 Unfollow Follow

    Latest posts made by 5o1

    • RE: NodeBB crash errors with package.config installed plugins but not when installed from admin interface.

      @a_5mith

      Thanks.

      posted in NodeBB Plugins
      5o1
      5o1
    • NodeBB crash errors with package.config installed plugins but not when installed from admin interface.

      So the two plugins that are causing me issues are:
      nodebb-plugin-emailer-mandrill
      nodebb-plugin-imgur

      When installed from the admin interface, they're fine. Everything works nicely and I have no problems. But of course, running on Heroku that's not really safe for recycles or what ever it is.
      So I wanted to install them into the package.config file with NPM. Then each of them, seprately, throw errors when run in localhose and cause app errors on Heroku.

      Console log of the imgur plugin error:

      2014-12-12T22:44:19.062Z - error: TypeError: Cannot read property 'applyCSRF' of undefined
          at Object.imgur.init (C:\Users\Jason\Documents\Projects\tartarus\node_modules\nodebb-plugin-imgur\index.js:24:62)
          at C:\Users\Jason\Documents\Projects\tartarus\src\plugins.js:489:23
          at C:\Users\Jason\Documents\Projects\tartarus\node_modules\async\lib\async.js:125:13
          at Array.forEach (native)
          at _each (C:\Users\Jason\Documents\Projects\tartarus\node_modules\async\lib\async.js:46:24)
          at Object.async.each (C:\Users\Jason\Documents\Projects\tartarus\node_modules\async\lib\async.js:124:9)
          at Object.Plugins.fireHook (C:\Users\Jason\Documents\Projects\tartarus\src\plugins.js:487:12)
          at Plugins.reloadRoutes (C:\Users\Jason\Documents\Projects\tartarus\src\plugins.js:135:11)
          at C:\Users\Jason\Documents\Projects\tartarus\node_modules\async\lib\async.js:656:23
          at fn (C:\Users\Jason\Documents\Projects\tartarus\node_modules\async\lib\async.js:641:34)
      TypeError: Cannot read property 'applyCSRF' of undefined
          at Object.imgur.init (C:\Users\Jason\Documents\Projects\tartarus\node_modules\nodebb-plugin-imgur\index.js:24:62)
          at C:\Users\Jason\Documents\Projects\tartarus\src\plugins.js:489:23
          at C:\Users\Jason\Documents\Projects\tartarus\node_modules\async\lib\async.js:125:13
          at Array.forEach (native)
          at _each (C:\Users\Jason\Documents\Projects\tartarus\node_modules\async\lib\async.js:46:24)
          at Object.async.each (C:\Users\Jason\Documents\Projects\tartarus\node_modules\async\lib\async.js:124:9)
          at Object.Plugins.fireHook (C:\Users\Jason\Documents\Projects\tartarus\src\plugins.js:487:12)
          at Plugins.reloadRoutes (C:\Users\Jason\Documents\Projects\tartarus\src\plugins.js:135:11)
          at C:\Users\Jason\Documents\Projects\tartarus\node_modules\async\lib\async.js:656:23
          at fn (C:\Users\Jason\Documents\Projects\tartarus\node_modules\async\lib\async.js:641:34)
      2014-12-12T22:44:19.067Z - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
      2014-12-12T22:44:19.067Z - info: [app] Database connection closed.
      

      Console log of the Mandrill plugin error:

      2014-12-12T22:54:38.729Z - info: [meta/templates] Compiling templates
      2014-12-12T22:54:39.371Z - error: TypeError: Cannot read property 'admin' of undefined
          at C:\Users\Jason\Documents\Projects\tartarus\node_modules\nodebb-plugin-emailer-mandrill\index.js:19:75
          at C:\Users\Jason\Documents\Projects\tartarus\src\meta\settings.js:12:4
          at try_callback (C:\Users\Jason\Documents\Projects\tartarus\node_modules\redis\index.js:573:9)
          at RedisClient.return_reply (C:\Users\Jason\Documents\Projects\tartarus\node_modules\redis\index.js:661:13)
          at ReplyParser.<anonymous> (C:\Users\Jason\Documents\Projects\tartarus\node_modules\redis\index.js:309:14)
          at ReplyParser.EventEmitter.emit (events.js:95:17)
          at ReplyParser.send_reply (C:\Users\Jason\Documents\Projects\tartarus\node_modules\redis\lib\parser\javascript.js:300:10)
          at ReplyParser.execute (C:\Users\Jason\Documents\Projects\tartarus\node_modules\redis\lib\parser\javascript.js:211:22)
          at RedisClient.on_data (C:\Users\Jason\Documents\Projects\tartarus\node_modules\redis\index.js:534:27)
          at Socket.<anonymous> (C:\Users\Jason\Documents\Projects\tartarus\node_modules\redis\index.js:91:14)
      

      If anyone is available to help me have these installed persistently rather than from the admin interface then that would be very appreciated.

      posted in NodeBB Plugins
      5o1
      5o1

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact