@monoclaw/machine 1.1.0-rc.2 → 1.1.0-rc.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/bin/monoclaw.js CHANGED
@@ -4,9 +4,7 @@ var major = Number(process.versions.node.split(".")[0]);
4
4
  if (major < 22) {
5
5
  console.error("MonoClaw needs Node.js 22 or newer. Install it, open a new terminal and run this again.");
6
6
  console.error(" This is Node.js " + process.versions.node + ".");
7
- if (process.platform === "darwin") console.error(" With Homebrew: brew install node Or the installer: https://nodejs.org/en/download");
8
- else if (process.platform === "win32") console.error(" With winget: winget install OpenJS.NodeJS.LTS Or the installer: https://nodejs.org/en/download");
9
- else console.error(" With nvm (no sudo): https://github.com/nvm-sh/nvm#installing-and-updating then: nvm install 22");
7
+ console.error(" Get it from https://nodejs.org/en/download, then open a new terminal.");
10
8
  process.exit(1);
11
9
  } else {
12
10
  import("../dist/cli.js");