clavue 8.14.2 → 8.14.3

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 CHANGED
@@ -1,4 +1,4 @@
1
- # Clavue v8.14.2
1
+ # Clavue v8.14.3
2
2
 
3
3
  ![Clavue cover](https://unpkg.com/clavue/image.png)
4
4
 
@@ -64,8 +64,8 @@ npx -y clavue
64
64
  Run a specific version with `npx`:
65
65
 
66
66
  ```bash
67
- npx -y clavue@8.14.2 --version
68
- npx -y clavue@8.14.2
67
+ npx -y clavue@8.14.3 --version
68
+ npx -y clavue@8.14.3
69
69
  ```
70
70
 
71
71
  Install globally from npm when you want the `clavue` command to stay available:
@@ -85,7 +85,43 @@ curl -fsSL https://unpkg.com/clavue/install.sh | bash
85
85
  Install a specific version globally:
86
86
 
87
87
  ```bash
88
- curl -fsSL https://unpkg.com/clavue@8.14.2/install.sh | bash -s -- 8.14.2
88
+ curl -fsSL https://unpkg.com/clavue@8.14.3/install.sh | bash -s -- 8.14.3
89
+ ```
90
+
91
+ ### Troubleshooting: `ENOTEMPTY` / `bash: clavue: No such file or directory`
92
+
93
+ `npm install -g clavue` can fail with:
94
+
95
+ ```
96
+ npm error code ENOTEMPTY
97
+ npm error ENOTEMPTY: directory not empty,
98
+ rename '/usr/lib/node_modules/clavue' -> '/usr/lib/node_modules/.clavue-Txlq2RSw'
99
+ ```
100
+
101
+ This is a generic npm bug that strikes large global packages (clavue is
102
+ ~74 MB unpacked / 4251 files) when an earlier install was interrupted.
103
+ npm's atomic-rename leaves behind a `.clavue-<rand>` staging directory
104
+ that blocks every future install at the same path. The bin symlink also
105
+ goes missing, so `clavue` exits with `No such file or directory`.
106
+
107
+ One-liner fix:
108
+
109
+ ```bash
110
+ curl -fsSL https://unpkg.com/clavue/repair.sh | bash
111
+ ```
112
+
113
+ The repair script removes the live `clavue/` dir, every `.clavue-*`
114
+ staging leftover, the dangling `bin/clavue` symlink, then reinstalls
115
+ `clavue@latest`. Set `CLAVUE_NO_INSTALL=1` to clean only.
116
+
117
+ Manual fallback if the script is unreachable:
118
+
119
+ ```bash
120
+ PREFIX=$(npm prefix -g)
121
+ sudo rm -rf "$PREFIX/lib/node_modules/clavue" \
122
+ "$PREFIX/lib/node_modules/.clavue-"* \
123
+ "$PREFIX/bin/clavue"
124
+ npm install -g clavue@latest
89
125
  ```
90
126
 
91
127
  ## Quick Start: Custom API
@@ -190,7 +226,7 @@ Version check:
190
226
  ```bash
191
227
  clavue --version
192
228
  npx -y clavue --version
193
- npx -y clavue@8.14.2 --version
229
+ npx -y clavue@8.14.3 --version
194
230
  # available after a global install and launcher setup
195
231
  clavue --version
196
232
  ```