nodebb-plugin-rss errors


  • GNU/Linux

    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)


  • GNU/Linux

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


  • Admin

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


  • GNU/Linux

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

    https://github.com/barisusakli/nodebb-plugin-rss/commit/035da4fd5dd9a37dcac97c3bba3e0225addc27ed

    to-markdown - 1.2.1


  • Admin

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


  • GNU/Linux

    @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)


  • Admin

    Try 0.2.18.


  • GNU/Linux

    @baris Yes thank you. Now works.


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.