clementine-agent 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/install.sh +3 -3
- package/package.json +1 -1
package/install.sh
CHANGED
|
@@ -87,15 +87,15 @@ step "Checking prerequisites"
|
|
|
87
87
|
if command_exists node; then
|
|
88
88
|
NODE_VERSION=$(node --version)
|
|
89
89
|
NODE_MAJOR=$(echo "$NODE_VERSION" | sed 's/v//' | cut -d. -f1)
|
|
90
|
-
if [ "$NODE_MAJOR" -ge 20 ]
|
|
90
|
+
if [ "$NODE_MAJOR" -ge 20 ]; then
|
|
91
91
|
ok "Node.js ${NODE_VERSION}"
|
|
92
92
|
else
|
|
93
|
-
fail "Node.js ${NODE_VERSION} — need v20
|
|
93
|
+
fail "Node.js ${NODE_VERSION} — need v20 or newer.
|
|
94
94
|
Switch version: nvm install 22 && nvm use 22
|
|
95
95
|
Then re-run: bash install.sh"
|
|
96
96
|
fi
|
|
97
97
|
else
|
|
98
|
-
fail "Node.js not found. Clementine requires Node.js 20
|
|
98
|
+
fail "Node.js not found. Clementine requires Node.js 20 or newer.
|
|
99
99
|
Install via nvm:
|
|
100
100
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
|
|
101
101
|
nvm install 22
|