hasura-keycloak
hasura-keycloak copied to clipboard
package-lock.json missing in keycloak-hasura-action
Building the action fails as the package lock is missing and the Dockerfile is using npm ci
. As a temporary fix I replaced ci
with i
.
Could you commit a package-lock.json?
Building keycloak-hasura-action
Sending build context to Docker daemon 7.68kB
Step 1/5 : FROM node:14-alpine
14-alpine: Pulling from library/node
59bf1c3509f3: Pull complete
39aa0d19fbe1: Pull complete
f0b94cdce0f3: Pull complete
664688b94c15: Pull complete
Digest: sha256:9a2aa545388a135b496bd55cef2be920b96c4526c99c140170e05a8de3fce653
Status: Downloaded newer image for node:14-alpine
---> 755b96824e40
Step 2/5 : WORKDIR /app
---> Running in 1eb49837f903
Removing intermediate container 1eb49837f903
---> ca365fe6305e
Step 3/5 : COPY ./* ./
---> 2c391d25d5a0
Step 4/5 : RUN npm ci
---> Running in 276276328d9d
npm ERR! cipm can only install packages with an existing package-lock.json or npm-shrinkwrap.json with lockfileVersion >= 1. Run an install
with npm@5 or later to generate it, then try again.
I'm having the same issue