Hey team, I'm trying to make a PR for the hub and...
# hub
s
Hey team, I'm trying to make a PR for the hub and want to test it locally, but am getting this error when running yarn on my branch:
Copy code
(.venv) stephane@stephane-XPS-15-9510:~/Documents/open-source/hub$ yarn
yarn install v1.22.18
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
warning Resolution field "sharp@0.29.3" is incompatible with requested version "sharp@^0.25.2"
success Already up-to-date.
Done in 0.40s.
Which leads to this:
Copy code
gridsome: command not found
I'm not that familiar with yarn. Would there be a way to solve this issue?
t
are you just trying to spin it up locally? It’s probably easier for me just to approve the branch build
s
Yeah I am, I'm just not sure how to test if everything works
t
i’ll be honest, I haven’t been able to spin it up locally either so I just get the netlify builds going lol
s
So I should just be looking at the build results for netlify?
t
unless one of the engineers can help you get it working, probably. Looks like the current error
Copy code
12:59:52 AM: Could not generate HTML for "/files/files-elementary--potloc/":
12:59:52 AM: Error: Cannot find module './files/elementary.png'
seems like you need to copy the image into the files directory as well
s
Ok perfect! I'll take a look at that over lunch then 😄
@taylor I can't seem to find the EDK template
Copy code
Command line: | /usr/bin/git clone --no-checkout <https://github.com/meltano/edk-template.git> /tmp/copier.vcs.clone.y97e9g58 --filter=blob:none
Stderr:       | Cloning into '/tmp/copier.vcs.clone.y97e9g58'...
              | remote: Repository not found.
              | fatal: repository '<https://github.com/meltano/edk-template.git/>' not found
t
hmm @florian.hines?
f
ah - think the docs an old link
(let me double check/snag an updated one)
@Stéphane Burwash should actually just be
copier gh:meltano/edk my-new-extension
sent along a PR to fix the docs: https://github.com/meltano/edk/pull/34
t
approved
s
Alright got it copied! Now, to figure out how this works
f
if you're wrapping a command (
uname
in this example)
thats invocable right away
thats that
poetry run myextensionthing_invoker -a
call, its calling
uname -a
under the hood
uname's sorta cheating of course since it doesn't expect a config or anything
s
Awesome! I'll take a look at it. And would have an example of how this is integrated, maybe in the squared project?
f
Not sure on the squared repo - i think we're looking at switching airflow and dbt over there over eventually ? /cc @taylor
I think that MDS in a box repo might have already gotten updated upstream to use the new dbt extension
(incase thats helpful)
s
Ok awesome! I'll take a look 😄