Skip to main content
Glama
fix-playwright-browsers.sh•1.34 kB
#!/bin/bash # Fix Playwright browser installation issue # This resolves the "Executable doesn't exist" error when opening compositions echo "šŸ”§ Fixing Playwright browser installation..." echo "" # Change to project directory cd "$(dirname "$0")/.." # Check if node_modules exists if [ ! -d "node_modules" ]; then echo "āŒ Error: node_modules not found. Please run 'npm install' first." exit 1 fi # Install Playwright browsers echo "šŸ“„ Installing Playwright browsers..." npx playwright install chromium if [ $? -eq 0 ]; then echo "" echo "āœ… Playwright browsers installed successfully!" echo "" echo "šŸŽÆ You can now use the browser automation feature to open compositions." echo "" echo "šŸ’” Tips:" echo " - The browser will open automatically when saving compositions" echo " - If you still see errors, try running: npm run postinstall" echo " - For manual browser opening, use the provided URL" else echo "" echo "āŒ Failed to install Playwright browsers." echo "" echo "šŸ” Troubleshooting:" echo " 1. Check your internet connection" echo " 2. Try running with sudo: sudo npx playwright install chromium" echo " 3. Clear npm cache: npm cache clean --force" echo " 4. Reinstall dependencies: rm -rf node_modules && npm install" fi

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rkm097git/euconquisto-composer-mcp-poc'

If you have feedback or need assistance with the MCP directory API, please join our Discord server