hiwot tadese
10/09/2025, 10:36 AMcd airbyte-integrations/connector-templates/generator./generate.shkapa.ai
10/09/2025, 10:36 AMbash cd airbyte-integrations/connector-templates/generator ./generate.sh There are a few common issues and solutions, especially if you are on Windows: 1. Windows Compatibility Issues The generate.sh script often fails on Windows, especially in environments like Git Bash or CMD, due to TTY/input device issues or Docker compatibility. You may see errors like "the input device is not a TTY" or errors on specific lines of the script. Solution: - Use WSL2 (Windows Subsystem for Linux 2) to run Airbyte’s code and scripts. This is the recommended way to work with Airbyte on Windows, as mentioned in the Airbyte forums: > You must use WSL2 to run Airbyte’s code in Windows OS. [Forum: Error creating HTTP API source on windows](https://discuss.airbyte.io/t/1848) - Alternatively, if you are using Git Bash, try running the script with npm as a workaround: 1. Install [Java](https://www.java.com/download/ie_manual.jsp) and [Node.js](https://nodejs.org/en/download/). 2. Open Git Bash as administrator. 3. Navigate to the connector-templates directory. 4. Run npm install to set up dependencies. 5. Run npm run generate to execute the generator script. [Forum: Unable to Creating the Source for building a custom connector using Python CDK](https://discuss.airbyte.io/t/2706) 2. Docker Issues Sometimes, restarting Docker can resolve issues with the script failing unexpectedly: > Restarting docker resolved the issue. [Forum: Unable to build new destination connector](https://discuss.airbyte.io/t/2358) 3. General Troubleshooting - Make sure you are in the correct directory and that the script has execute permissions (chmod +x generate.sh). - If you are on Linux or macOS, the script should work as expected in a standard terminal. If you continue to have issues, please specify your operating system and any error messages you see, so I can provide more targeted help.