While I run ./generate.sh, I got "While trying to ...
# help-connector-development
p
While I run ./generate.sh, I got "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.". Can anyone explain what's going on? and what should I do?
k
A message from kapa.ai
It seems you are encountering an issue while running the
generate.sh
script on Windows. This issue has been reported by other users as well. To resolve this issue, you can try using Node.js and npm instead of running the
generate.sh
script directly. Here are the steps to follow: 1. Install [Java](https://www.java.com/download/ie_manual.jsp) and [Node.js](https://nodejs.org/en/download/). 2. Run Git Bash with administrator privileges. 3. Change the directory to the folder containing
generate.sh
(usually
connector-templates
by default). 4. Install npm by entering in Git Bash:
npm install
– this will create a
node_modules
folder. 5. Run the
generate.sh
file by entering in Git Bash:
npm run generate
. This should resolve the issue and allow you to generate a connector successfully. If you still face issues, consider using WSL2 on Windows for a smoother experience with Airbyte. Source: [Forum Discussion](https://discuss.airbyte.io/t/2706)