`rc-apps pack` throws error with nodejs 24
@okayxsh is already working on this.
Since Mar 29, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 64/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- nodejs, typescript
- Domain
- cli
Research direction
Reproduce the failure with rc-apps pack on Node.js 24, then inspect the simple-node-logger call shown in AbstractAppender.js:67 and the CLI dependency configuration. Compare behavior with Node.js 22 and verify that packing completes without the util.isDate error on Node.js 24.
Written by the indexing model from the issue text.
Description
Hi there
I've just stumbled over an error, when packing my application with rc-apps pack on my archlinux machine with nodejs 24.
[user@host test]# rc-apps p
packaging your app... done
/usr/lib/node_modules/@rocket.chat/apps-cli/node_modules/simple-node-logger/lib/AbstractAppender.js:67
if (util.isDate( item )) {
^
TypeError: util.isDate is not a function
at /usr/lib/node_modules/@rocket.chat/apps-cli/node_modules/simple-node-logger/lib/AbstractAppender.js:67:26
at Array.map (<anonymous>)
at AbstractAppender.formatMessage (/usr/lib/node_modules/@rocket.chat/apps-cli/node_modules/simple-node-logger/lib/AbstractAppender.js:66:30)
at AbstractAppender.formatEntry (/usr/lib/node_modules/@rocket.chat/apps-cli/node_modules/simple-node-logger/lib/AbstractAppender.js:45:27)
at ConsoleAppender.formatter (/usr/lib/node_modules/@rocket.chat/apps-cli/node_modules/simple-node-logger/lib/ConsoleAppender.js:34:33)
at ConsoleAppender.write (/usr/lib/node_modules/@rocket.chat/apps-cli/node_modules/simple-node-logger/lib/ConsoleAppender.js:45:30)
at /usr/lib/node_modules/@rocket.chat/apps-cli/node_modules/simple-node-logger/lib/Logger.js:42:26
at Array.forEach (<anonymous>)
at /usr/lib/node_modules/@rocket.chat/apps-cli/node_modules/simple-node-logger/lib/Logger.js:41:23
at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
Node.js v24.8.0
I've installed it as described in the README via npm install -g @rocket.chat/apps-cli.
I've checked it using the package nodejs-lts-jod which installs nodejs 22 and when running rc-apps pack again, it works as expected.
Could there be taken a look at?
Thanks.
- Dominant language
- TypeScript
- Stars
- 49
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RocketChat/Rocket.Chat.Apps-cli
-
Feature Request: Add Boilerplate Templates to rc-apps createPossibly taken @ShubhamS2005 claimed this 243 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 55/100
RocketChat/Rocket.Chat.Apps-cli#181 · 1 comment ·
-
Windows: rc-apps deploy fails with File 'X.ts' not found while tsc compiles successfullyPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
RocketChat/Rocket.Chat.Apps-cli#177 · 3 comments ·
-
Bug: Infinite loop in rc-apps watchMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
RocketChat/Rocket.Chat.Apps-cli#164 · 1 comment ·
All issues in RocketChat/Rocket.Chat.Apps-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
open-webui/tether#52 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
voidzero-dev/void#835 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AykutSarac/jsoncrack.com#616 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
melgarafael/DeskcommCRM#4679 ·
Maintainers usually reply within 1 day