Habitica wrong node version #1024

Closed
opened 2026-02-04 22:39:51 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @UnitZer0 on GitHub (May 28, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

habitica

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/habitica.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

There is a wrong node version in the script. Instead of v20, the latest change calls for v22, which is not compatible with Habitica.

🔄 Steps to reproduce the issue.

run script

Paste the full error output (if available).

npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: 'habitica@5.36.4',
npm warn EBADENGINE required: { node: '20', npm: '^10' },
npm warn EBADENGINE current: { node: 'v22.16.0', npm: '10.9.2' }
npm warn EBADENGINE }

[ERROR] in line 34: exit code 0: while executing command $STD npm i

🖼️ Additional context (optional).

No response

Originally created by @UnitZer0 on GitHub (May 28, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? habitica ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/habitica.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. There is a wrong node version in the script. Instead of v20, the latest change calls for v22, which is not compatible with Habitica. ### 🔄 Steps to reproduce the issue. run script ### ❌ Paste the full error output (if available). npm warn EBADENGINE Unsupported engine { npm warn EBADENGINE package: 'habitica@5.36.4', npm warn EBADENGINE required: { **node: '20',** npm: '^10' }, npm warn EBADENGINE current: { **node: 'v22.16.0**', npm: '10.9.2' } npm warn EBADENGINE } [ERROR] in line 34: exit code 0: while executing command $STD npm i ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 22:39:51 +03:00
Author
Owner

@michelroegl-brunner commented on GitHub (May 28, 2025):

Fix Merged.

@michelroegl-brunner commented on GitHub (May 28, 2025): Fix Merged.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1024