```[4/7] RUN pip install -r requirements.txt: 0.73...
# troubleshooting
i
Copy code
[4/7] RUN pip install -r requirements.txt:
0.738 ERROR: c:\users\user\documents\github\datawarehouse_v1\meltano\taps\tap-jobdiva is not a valid editable requirement. It should either be a path to a local project or a VCS URL
I'm getting this error while attempting to build my docker image. I have my custom tap in taps\tap-jobdiva and can install it fine when I run "meltano install extractors" from the CLI - but it's failing to install in my image. The install looks like this:
-e c:\users\user\documents\github\datawarehouse_v1\meltano\taps\tap-jobdiva
in my requirements.txt and like this:
pip_url: -e .\\taps\\tap-jobdiva
in my
meltano.yml
. Any ideas?
1
e
You probably don't need to put it in
requirements.txt
if you are also installing Meltano in your image, and instead use
meltano install
to install your plugins.
🙌 1
i
Got it - after excluding from my requirements.txt I got this error
=> => # ERROR: .apsap-jobdiva is not a valid editable requirement. It should either be a path to a local project or a VCS URL
Is docker building the path to the tap wrong?
e
So your dev environment is windows and your image is linux-based, right? I think some of the characters in
pip_url: -e .\\taps\\tap-jobdiva
are interpreted as tabs 😅 so
.\\taps\\tap-jobdiva -> .apsap-jobdiva
. Would using forward slashes work in your windows environment, i.e.
pip_url: -e ./taps/tap-jobdiva
?
i
checking it now 🫡
👍 1
The forward slashes worked, by the way, incase anyone stumbles upon this
🙌 1