Skip to content

Comments

Properly handle SSL errors and npm path resolution#24

Merged
alex-feel merged 1 commit intomainfrom
alex-feel-dev
Aug 15, 2025
Merged

Properly handle SSL errors and npm path resolution#24
alex-feel merged 1 commit intomainfrom
alex-feel-dev

Conversation

@alex-feel
Copy link
Owner

No description provided.

1. Fixed SSL exception handling - catch urllib.error.URLError instead of ssl.SSLError
2. Added proper npm path resolution on Windows:
   - Check for npm.cmd explicitly in Program Files\nodejs
   - Add detailed debug output to understand npm failures
   - Use full path to npm.cmd when needed
3. Improved error handling in run_command to show actual errors
4. Check for SSL/certificate strings in URLError to detect SSL issues correctly
@alex-feel alex-feel enabled auto-merge August 15, 2025 22:15
@alex-feel alex-feel merged commit eeeb9dc into main Aug 15, 2025
5 checks passed
@alex-feel alex-feel deleted the alex-feel-dev branch August 15, 2025 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant