[vorp] chat + rumor

I can’t seem to stop getting this error, and I don’t know how to fix it. I have “chat-redm” at the beginning of the code and “vorp_rpchat” at the end, but I keep encountering this:

cfx> (node:27) UnhandledPromiseRejectionWarning: Error: Cannot find module ‘html-webpack-plugin’
Require stack:

  • /output/config/resources/[gameplay]/chat-redm/webpack.config.js
  • /output/config/resources//[system]/[builders]/webpack/dummy.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:94:18)
    at Object. (/output/config/resources/[gameplay]/chat-redm/webpack.config.js:1:27)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions…js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    (Use FXServer --trace-warnings ... to show where the warning was created)
    (node:27) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see Command-line API | Node.js v22.4.1 Documentation). (rejection id: 2)

This doesn’t work for me, you have Nodejs. installed?

No, I only have the default VORP

Node.js — Run JavaScript Everywhere (nodejs.org)

What’s that for? I have the server hosted on a VPS and I can’t access it

Scripting in JavaScript - Cfx.re Docs (fivem.net)
It is necessary to download the node module packages

The thing is, I run Yarn in the chat-redm folder and I get that error, so I don’t know how to update it.

sending you a link to my chat, maybe it will work for you

instale el chat y no funciona

Has anyone had any problems, but I can’t help you if you tell me it doesn’t work, tell me the errors so I can help you