while trying to create a airbyte source connector ...
# help-connector-development
a
while trying to create a airbyte source connector facing this error Running generator... While trying to generate a connector, an error occurred on line 38 of generate.sh and the process aborted early. This is probably a bug.
k
A message from kapa.ai
It seems you are facing an issue while trying to generate a connector using the
generate.sh
script. If you are running on a Windows OS, it is recommended to use WSL2 to run Airbyte's code. However, some users have found success by using Node.js and npm as an alternative method. Here's a solution that has worked for others: 1. Download and install [Java](https://www.java.com/download/ie_manual.jsp). 2. Download and install [Node.js](https://nodejs.org/en/download/). 3. Run Git Bash with administrator privileges. 4. Change the directory to the folder containing
generate.sh
(usually
connector-templates
). 5. Install npm by entering in Git Bash:
npm install
– this will create a
node_modules
folder. 6. Run the
generate.sh
file by entering in Git Bash:
npm run generate
. This should help you generate the connector without encountering the error on line 38. Source: [Forum Discussion](https://discuss.airbyte.io/t/2706)