fix: Resolve bcrypt architecture and duplicate resource creation issues
Backend fixes: - Fix bcrypt exec format error for ARM64 architecture - Add architecture detection for MinIO client download - Install build tools and rebuild bcrypt from source - Add postinstall script to automatically rebuild bcrypt - Rebuild bcrypt after copying files to ensure correct binary Frontend fixes: - Handle duplicate resource creation in QuickStartWizard - Add error handling for "already exists" scenarios - Prevent multiple executions with isCreating flag - Allow wizard to complete even if resources already exist These changes fix: 1. Backend crash on ARM64 due to bcrypt binary mismatch 2. 500 errors when resources already exist in QuickStartWizard 3. Race conditions when clicking Complete button multiple times 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
"lint": "eslint src/",
|
||||
"lint:fix": "eslint src/ --fix",
|
||||
"hash-password": "node scripts/hash-password.js",
|
||||
"generate-password": "node generate-password.js"
|
||||
"generate-password": "node generate-password.js",
|
||||
"postinstall": "npm rebuild bcrypt --build-from-source"
|
||||
},
|
||||
"keywords": ["minio", "api", "backend"],
|
||||
"author": "",
|
||||
|
||||
Reference in New Issue
Block a user