-
-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Docker Installation: Development module, cannot install dependencies #3058
Comments
I am also running in to this exact issue. @JonasArnold have you been able to figure out a workaround yet? |
I have a fix for this, which kinda works and should for your module, but doesn't for every module. |
Thanks a lot @Julusian.
It seems like yarn is not installed in the image...
Am I missing something crucial? Development modules with dependencies should work in the docker image right? |
I'm not able to reproduce that, running |
After creating a new container, yarn is now found.. probably some issue with environment variables. At first I got the following problem with yarn having no permission to create folders inside the volume.
Nevertheless I was able to fix this with the following very ugly way :) If there is a cleaner way to solve this, I am very happy for everyones recommendations. Otherwise this issue is fixed for me and I am hoping for a better way to integrate modules in future releases. |
Yeah, I'm not surprised. The install is being run as the Once #1002 is done (hopefully by #3062), then this flow won't be so relevant anymore and will probably be removed or stripped back to not do the install |
Is this a bug in companion itself or a module?
Is there an existing issue for this?
Describe the bug
I am trying to use a customised module in my Docker installation.
But the Docker installation of Companion can no longer start because the installation of the dependencies for my module fails on startup with the following error:
The module I want to use is the following:
https://github.com/JonasArnold/companion-module-allenheath-ahm
Apparently the installed yarn does not seem to recognise the ‘--prod’ option.
Steps To Reproduce
git clone https://github.com/JonasArnold/companion-module-allenheath-ahm.git
=> Creates a folder named companion-module-allenheath-ahm with the content of the main branch.
Expected Behavior
Installs dependencies of customised module according to package.json
Environment (please complete the following information)
Additional context
No response
The text was updated successfully, but these errors were encountered: