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

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

Open
asmaps opened this issue Feb 3, 2022 · 1 comment
Open

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

asmaps opened this issue Feb 3, 2022 · 1 comment

Comments

@asmaps
Copy link

asmaps commented Feb 3, 2022

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. 
@Artkoch
Copy link

Artkoch commented Sep 8, 2022

I'm having the same issue

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