https://linen.dev logo
#ask-community-for-troubleshooting
Title
# ask-community-for-troubleshooting
t

Tanner Francis

07/19/2021, 3:39 PM
I'm going through the tutorial on this page: https://docs.airbyte.io/contributing-to-airbyte/building-new-connector/tutorials/building-a-python-source When I run the code for step 1 (run the generate.sh file to create a new source template). The template file runs, but I am never prompted to give the source a name as the instructions on the webpage indicate. Has something changed in the .sh file? Or could I be missing some vital step?
1
Ok I think I found my own answer on the alternative tutorial: https://docs.airbyte.io/contributing-to-airbyte/building-new-connector/tutorials/build-a-connector-the-hard-way I had to NPM run the generator file. not "bash generator.sh"
s

s

07/19/2021, 3:48 PM
hmm you should be able to run it using the shell generator. When you ran it the first way, was there anything generated/did the process terminate?
t

Tanner Francis

07/19/2021, 4:28 PM
That's what I was trying to confirm. I was trying to locate the template files after the generate.sh file ran. But I had no reference for what the new source would be named. I also wasn't sure what format it would have used because I was never prompted to select python vs. some other source type.
The Bash terminal did give me some messages. Successful messages indicating that the file had run.
Here's a snippet of the bash terminals output:
message has been deleted
u

[DEPRECATED] Marcos Marx

07/19/2021, 5:09 PM
@Tanner Francis you're on a Windows machine right? Don't know for sure... but maybe using the root user or running using
sh generate.sh
😃
t

Tanner Francis

07/19/2021, 5:14 PM
Thanks Marcos! I think I've arrived where I need to for now. Much appreciated. 🙂
a

Adam LeFevre

09/27/2021, 8:47 PM
FYI: Tanner's workaround link was broken for me, but I was able to npm run generate. (Also needed to npm install plop and npm install uuid.)
4 Views