Watts-Lab / deliberation-empirica

Empirica V2 framework
MIT License
5 stars 0 forks source link

Error finding empirica with fresh clone and build #791

Open shapeseas opened 2 months ago

shapeseas commented 2 months ago

When doing a fresh clone of deliberation-empirica and running npm run build in the root folder, empirica: not found. Either the build script is not working or I needed to do another step to get the newest empirica on my machine. In the latter case, documentation could be clearer.

Full response:

 deliberation-empirica@1.0.0 build
> sh builder.sh

-------- builder.sh --------
Base directory /home/eric/Documents/CSSLab/GH/deliberation-empirica
Building etherpad
[+] Building 0.6s (16/16) FINISHED                     docker:default
 => [internal] load build definition from Dockerfile             0.0s
 => => transferring dockerfile: 628B                             0.0s
 => [internal] load metadata for docker.io/etherpad/etherpad:1.  0.4s
 => [internal] load .dockerignore                                0.0s
 => => transferring context: 2B                                  0.0s
 => [internal] load build context                                0.0s
 => => transferring context: 98B                                 0.0s
 => [ 1/11] FROM docker.io/etherpad/etherpad:1.9.3@sha256:fe350  0.0s
 => CACHED [ 2/11] RUN apk add caddy                             0.0s
 => CACHED [ 3/11] COPY Caddyfile /scripts/Caddyfile             0.0s
 => CACHED [ 4/11] COPY entrypoint.sh /scripts/entrypoint.sh     0.0s
 => CACHED [ 5/11] RUN chmod +x /scripts/entrypoint.sh           0.0s
 => CACHED [ 6/11] RUN mkdir /opt/etherpad-lite/data             0.0s
 => CACHED [ 7/11] RUN chmod 777 /opt/etherpad-lite/data         0.0s
 => CACHED [ 8/11] COPY settings.json /opt/etherpad-lite/settin  0.0s
 => CACHED [ 9/11] WORKDIR /opt/etherpad-lite/src                0.0s
 => CACHED [10/11] RUN npm install better-sqlite3                0.0s
 => CACHED [11/11] WORKDIR /opt/etherpad-lite                    0.0s
 => exporting to image                                           0.0s
 => => exporting layers                                          0.0s
 => => writing image sha256:8443a32fa0567af4ac6a10a78e0188955eb  0.0s
 => => naming to docker.io/library/deliberation-etherpad         0.0s
Installing empirica dependencies
builder.sh: 21: empirica: not found
builder.sh: 24: empirica: not found