nodebb-plugin-rss errors

Technical Support
  • 15/9 08:10 [31394] - error: TypeError: Cannot read property '1' of null
    at ELEMENTS.replacement (/var/www/NodeBB/node_modules/nodebb-plugin-rss/node_modules/to-markdown/src/to-markdown.js:75:70)
    at /var/www/NodeBB/node_modules/nodebb-plugin-rss/node_modules/to-markdown/src/to-markdown.js💯41
    at String.replace (native)
    at replaceEls (/var/www/NodeBB/node_modules/nodebb-plugin-rss/node_modules/to-markdown/src/to-markdown.js:99:23)
    at toMarkdown (/var/www/NodeBB/node_modules/nodebb-plugin-rss/node_modules/to-markdown/src/to-markdown.js:82:16)
    at /var/www/NodeBB/node_modules/nodebb-plugin-rss/index.js:202:14
    at try_callback (/var/www/NodeBB/node_modules/redis/index.js:573:9)
    at RedisClient.return_reply (/var/www/NodeBB/node_modules/redis/index.js:661:13)
    at ReplyParser.<anonymous> (/var/www/NodeBB/node_modules/redis/index.js:309:14)
    at ReplyParser.emit (events.js:95:17)

  • Hey, @baris, I know you know the answer.
    Perhaps it is not compatible with the current version nodebb?

  • Try with 0.2.17 of rss plugin, I recently updated the to-markdown dependency.

  • @baris Um, no. No changes.
    You changed only version?
    No other changes I see.

    to-markdown - 1.2.1

  • I updated the version of the dependency to-markdown you need to run npm i to update it.

  • @baris

    Gives an error message -
    (it is different)

    15/9 13:19 [2223] - error: TypeError: undefined is not a function
    at /var/www/node_modules/nodebb-plugin-rss/index.js:202:14
    at try_callback (/var/www/node_modules/redis/index.js:573:9)
    at RedisClient.return_reply (/var/www/node_modules/redis/index.js:661:13)
    at ReplyParser.<anonymous> (/var/www/node_modules/redis/index.js:309:14)
    at ReplyParser.emit (events.js:95:17)
    at ReplyParser.send_reply (/var/www/node_modules/redis/lib/parser/javascript.js:300:10)
    at ReplyParser.execute (/var/www/node_modules/redis/lib/parser/javascript.js:203:22)
    at RedisClient.on_data (/var/www/node_modules/redis/index.js:534:27)
    at Socket.<anonymous> (/var/www/node_modules/redis/index.js:91:14)
    at Socket.emit (events.js:95:17)

  • Try 0.2.18.

  • @baris Yes thank you. Now works.


Suggested Topics