hasura-keycloak icon indicating copy to clipboard operation
hasura-keycloak copied to clipboard

package-lock.json missing in keycloak-hasura-action

Open asmaps opened this issue 3 years ago • 1 comments

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. 

asmaps avatar Feb 03 '22 13:02 asmaps

I'm having the same issue

Artkoch avatar Sep 08 '22 07:09 Artkoch