better-ccflare 3.1.12 → 3.2.0-beta2
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 +0 -71
- package/dist/better-ccflare +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -126,8 +126,6 @@ Continue to [Configure Claude SDK](https://github.com/tombii/better-ccflare#conf
|
|
|
126
126
|
#### Windows x86_64
|
|
127
127
|
Download [`better-ccflare-windows-x64.exe`](https://github.com/tombii/better-ccflare/releases/latest/download/better-ccflare-windows-x64.exe) and run it.
|
|
128
128
|
Continue to [Configure Claude SDK](https://github.com/tombii/better-ccflare#configure-claude-sdk).
|
|
129
|
-
|
|
130
|
-
**⚠️ Windows npm Installation Issue**: If you installed via npm and encounter a path error like `"C:\\Program Files\\nodejs\\\\node_modules\\better-ccflare\\dist\\better-ccflare" is either misspelled or could not be found`, this is a known [npm bug on Windows](https://github.com/npm/cli/issues/969) affecting how npm generates wrapper scripts. See [Windows Troubleshooting](#windows-troubleshooting) for workarounds.
|
|
131
129
|
### Run without installation (npx/bunx)
|
|
132
130
|
|
|
133
131
|
```bash
|
|
@@ -535,75 +533,6 @@ No `NODE_OPTIONS` needed - Traefik provides trusted certificates automatically!
|
|
|
535
533
|
curl -k https://yourhostname:8080/health
|
|
536
534
|
```
|
|
537
535
|
|
|
538
|
-
## Windows Troubleshooting
|
|
539
|
-
|
|
540
|
-
### Issue: "Command is misspelled or could not be found" after npm install
|
|
541
|
-
|
|
542
|
-
If you installed better-ccflare via npm on Windows and encounter an error like:
|
|
543
|
-
|
|
544
|
-
```
|
|
545
|
-
The command "C:\Program Files\nodejs\\node_modules\better-ccflare\dist\better-ccflare" is either
|
|
546
|
-
misspelled or could not be found.
|
|
547
|
-
```
|
|
548
|
-
|
|
549
|
-
This is a **known npm bug on Windows** (see [npm/cli#969](https://github.com/npm/cli/issues/969) and [nodejs/node#39010](https://github.com/nodejs/node/issues/39010)) affecting how npm generates wrapper scripts with double backslashes in paths.
|
|
550
|
-
|
|
551
|
-
### Workarounds
|
|
552
|
-
|
|
553
|
-
**Option 1: Use `npx` (Recommended)**
|
|
554
|
-
|
|
555
|
-
```powershell
|
|
556
|
-
npx better-ccflare
|
|
557
|
-
```
|
|
558
|
-
|
|
559
|
-
This bypasses the npm wrapper script entirely and runs better-ccflare directly.
|
|
560
|
-
|
|
561
|
-
**Option 2: Use the Pre-compiled Binary**
|
|
562
|
-
|
|
563
|
-
Download the standalone Windows executable from [GitHub Releases](https://github.com/tombii/better-ccflare/releases/latest):
|
|
564
|
-
|
|
565
|
-
```powershell
|
|
566
|
-
# Download better-ccflare-windows-x64.exe and run it directly
|
|
567
|
-
.\better-ccflare-windows-x64.exe
|
|
568
|
-
```
|
|
569
|
-
|
|
570
|
-
**Option 3: Update npm**
|
|
571
|
-
|
|
572
|
-
Sometimes updating to the latest npm version fixes the issue:
|
|
573
|
-
|
|
574
|
-
```powershell
|
|
575
|
-
npm install -g npm@latest
|
|
576
|
-
npm install -g better-ccflare
|
|
577
|
-
```
|
|
578
|
-
|
|
579
|
-
**Option 4: Direct Execution**
|
|
580
|
-
|
|
581
|
-
If you need to use the npm-installed version, you can execute the binary directly:
|
|
582
|
-
|
|
583
|
-
```powershell
|
|
584
|
-
node "%APPDATA%\npm\node_modules\better-ccflare\dist\better-ccflare"
|
|
585
|
-
```
|
|
586
|
-
|
|
587
|
-
**Option 5: Use Bun Package Manager**
|
|
588
|
-
|
|
589
|
-
Bun doesn't have this bug and works correctly on Windows:
|
|
590
|
-
|
|
591
|
-
```powershell
|
|
592
|
-
# Install bun from https://bun.sh
|
|
593
|
-
bun install -g better-ccflare
|
|
594
|
-
better-ccflare
|
|
595
|
-
```
|
|
596
|
-
|
|
597
|
-
### Root Cause
|
|
598
|
-
|
|
599
|
-
This issue is caused by a bug in npm's wrapper script generation on Windows, where it incorrectly constructs paths with double backslashes (`\\nodejs\\\\node_modules`). This is a longstanding npm bug that affects many CLI packages, not just better-ccflare.
|
|
600
|
-
|
|
601
|
-
The issue is being tracked in:
|
|
602
|
-
- [npm/cli#969](https://github.com/npm/cli/issues/969) - Generated .cmd script bugs
|
|
603
|
-
- [nodejs/node#39010](https://github.com/nodejs/node/issues/39010) - Double slashes in Windows paths
|
|
604
|
-
|
|
605
|
-
We recommend using one of the workarounds above until the npm bug is fixed.
|
|
606
|
-
|
|
607
536
|
## Features
|
|
608
537
|
|
|
609
538
|
### 🎯 Intelligent Load Balancing
|
package/dist/better-ccflare
CHANGED
|
Binary file
|
package/package.json
CHANGED