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

  • 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.

  • Deleted by   T   Teemberland 
  • Restored by   T   Teemberland 

  • 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.

  • @pitaj I will try this and report back.

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

Suggested Topics

| | | |