petdex 0.3.9 → 0.4.0
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/README.md +2 -2
- package/dist/petdex.js +95 -95
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ npx petdex --help
|
|
|
16
16
|
npm install -g petdex
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
Requires Node.js
|
|
19
|
+
Requires Node.js 20+ (also runs on Bun).
|
|
20
20
|
|
|
21
21
|
## Quick start
|
|
22
22
|
|
|
@@ -121,7 +121,7 @@ install path is just `fetch a JSON manifest, write two files to
|
|
|
121
121
|
| Symptom | Cause | Fix |
|
|
122
122
|
| --- | --- | --- |
|
|
123
123
|
| Hangs at `Need to install the following packages: petdex@x` | `npx`'s own confirmation prompt, not a hang. Press `y` or auto-confirm | `npx -y petdex install <slug>` |
|
|
124
|
-
| `npm ERR! engine Unsupported engine` | Node <
|
|
124
|
+
| `npm ERR! engine Unsupported engine` | Node < 20 | Upgrade Node to 20+ (`nvm install 20` is the easiest path) |
|
|
125
125
|
| `manifest fetch 5xx` / network timeout | Slow connection or corporate/national firewall blocking `petdex.crafter.run` | Set a proxy: `HTTPS_PROXY=http://your.proxy:port npx petdex install <slug>` |
|
|
126
126
|
| `EACCES: permission denied … ~/.codex/pets/` | Pets dir owned by another user | `sudo chown -R "$USER" ~/.codex` or remove the dir and retry |
|
|
127
127
|
| Windows: `'sh' is not recognized` | CLI version older than 0.1.1 piped through `curl … \| sh` | Upgrade: `npm i -g petdex@latest` or `npx petdex@latest install <slug>` |
|