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

Unable to Install Coney #2

Closed
ozair10 opened this issue Nov 27, 2023 · 4 comments
Closed

Unable to Install Coney #2

ozair10 opened this issue Nov 27, 2023 · 4 comments

Comments

@ozair10
Copy link

ozair10 commented Nov 27, 2023

Hello,

Description:

I am experiencing a build failure while attempting to install the Coney software on my system. Below are the details of the issue:

Environment:

Operating System: [Windows 10, Linux]

Issue Details:

The built gets keep on failing which has been tried out on both operating systems.

Screenshots

The buit gets failed on this step specified in the first screenshot

Screenshot1

Apparenty it lacks the updation of the of the browser list , which i have updated rom old version to new as shown in the next screenshot :

Screenshot from 2023-11-24 19-25-58

But still the error is not getting solved.

Thank you for your attention to this matter. I appreciate the assistance in resolving the issue. If there's any additional information needed or further testing required on my end, please don't hesitate to ask. I look forward to a resolution

@marioscrock
Copy link
Member

marioscrock commented Nov 27, 2023

Hi @ozair10!

Thank you for trying Coney and reporting this issue. It seems like a dependency problem due to updates in some packages. Currently, the build process defined in coney-create/Dockerfile doesn't use the package-lock.json uploaded in the repository but the package.json file which doesn't fix the versions for all the packages. We will have a look to find the problematic package, in the meanwhile you can try to build the Docker image for coney-create using the package-lock.json file.

@ozair10
Copy link
Author

ozair10 commented Nov 27, 2023

Hi Thank you for your reponse,

I tried that as well but didnt helped , can you please elaborate more or let me know after which step i need to take after which action ? because it didnt worked with using package-lock-json file as well

@marioscrock
Copy link
Member

marioscrock commented Nov 27, 2023

You have to remove package-lock.json from the .dockerignore and modify the Dockerfile as follows before launching the build.

COPY package.json /app/package.json
COPY package-lock.json /app/package-lock.json  # Add this line to copy the existing lock file

# install dependencies using the existing package-lock.json
RUN npm ci

Note that it should be done for coney-create, coney-inspect and coney-chat.

@ozair10
Copy link
Author

ozair10 commented Nov 27, 2023

Cool ! it did worked thanks !

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