Skip to content
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

building bbb-pads fails #272

Closed
bjo81 opened this issue May 11, 2023 · 4 comments
Closed

building bbb-pads fails #272

bjo81 opened this issue May 11, 2023 · 4 comments

Comments

@bjo81
Copy link

bjo81 commented May 11, 2023

While running docker-compose up -d:

Building bbb-pads
Sending build context to Docker daemon  3.584kB
Step 1/10 : FROM node:16-bullseye-slim AS builder
16-bullseye-slim: Pulling from library/node
9e3ea8720c6d: Pull complete 
22cee24855b2: Pull complete 
4ebaa3579fba: Pull complete 
b31e2dbd8a1c: Pull complete 
1a6527404bb4: Pull complete 
Digest: sha256:7ee0b958bd5f47f54b58f2b9932b1975a4d98d8f332bd2134c2b65514cadb6c6
Status: Downloaded newer image for node:16-bullseye-slim
 ---> ffd36734ebe8
Step 2/10 : COPY ./bbb-pads /bbb-pads
 ---> 701a2cbd74c6
Step 3/10 : RUN cd /bbb-pads && rm -r .git && npm install --production
 ---> Running in 46f1a5742d67
rm: cannot remove '.git': No such file or directory
The command '/bin/sh -c cd /bbb-pads && rm -r .git && npm install --production' returned a non-zero code: 1
ERROR: Service 'bbb-pads' failed to build : Build failed

There is no .git in mod/bbb-pads.

@bjo81
Copy link
Author

bjo81 commented May 15, 2023

Recurse Submodules were missing.

@bjo81 bjo81 closed this as completed May 15, 2023
@J0J0HA
Copy link

J0J0HA commented Jan 4, 2024

Recurse Submodules were missing.

Can you tell me how you fixed this? From your reply I figured git submodule update --recursive might fix it, but it didn't.

@bjo81
Copy link
Author

bjo81 commented Jan 5, 2024

Did you run docker compose up -d --no-build? Seems like since 07ce2c4 building isn't necessary.

@J0J0HA
Copy link

J0J0HA commented Jan 5, 2024

Yes I did, but I got problems I thought building might fix. I figured out how to get the submodules, and building worked, but it didn't fix my initial problem. (Issue #312)

Thank you anyways :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants