Updated to v1.17.x, emoji stopped working?

Technical Support
  • #1

    Hi, as soon as I updated our forums to 1.17.x, I started getting errors from the emoji plugin.

    From the composer, when I click the emoji icon, I get a "Error: Failed to load emoji metadata"

    In the console, I'm getting a few 404 errors:

    Failed to load '.com/plugins/nodebb-plugin-emoji/emoji/styles.css?
    v=21sqidk2tpp'. A ServiceWorker intercepted the request and encountered an unexpected error.
    GET .com/plugins/nodebb-plugin-emoji/emoji/styles.css?v=21sqidk2tpp
    Error: [[emoji:meta-load-failed]]

    I tried rebuilding/restarting the forums, but to no avail.

    Also, when I try to 'Rebuild Emoji Assets' in ACP, I get a "Error Object.fromEntries is not a function"

    I uninstalled/reinstalled the emoji, but that didn't fix the issue either.


    Something else I noticed. Whenever I rebuild/restart our forums, it deletes all files inside this directory (~/nodebb/node_modules/nodebb-plugin-emoji/build/emoji).

    When I manually upload the necessary files (from my local files) to the directory in question on our server, the error goes away.

  • T Teemberland deleted this topic on
  • T Teemberland restored this topic on
  • Global Moderator Plugin & Theme Dev

    It sounds like you're on an old version of Node. Try updating to Node 14.

    Then rebuild emoji assets from the plugin page in the ACP and restart NodeBB.

  • #3

    @pitaj I will try this and report back.

  • #4

    @pitaj I can confirm that this fixed my issue! Thank you!

Suggested Topics

  • 0 Votes
    1 Posts

  • 0 Votes
    5 Posts

  • 0 Votes
    4 Posts

  • 0 Votes
    3 Posts

| | | |