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 set up and run lime-app locally #404

Closed
zelfroster opened this issue Feb 25, 2024 · 2 comments
Closed

Unable to set up and run lime-app locally #404

zelfroster opened this issue Feb 25, 2024 · 2 comments

Comments

@zelfroster
Copy link

zelfroster commented Feb 25, 2024

Firstly, I would like to apologize for opening this issue if anyone got disturbed.

I am trying to set up lime-app locally, but unable to set up and start the development environment.

I tried both approaches but didn't succeed.

  • Using Docker
  in lime-app  develop via  v20.11.1 ❯ docker-compose run --rm ui npm i
[+] Building 2.1s (8/9)                                                                                                                                                      docker:default
 => [ui internal] load build definition from Dockerfile                                                                                                                                0.0s
 => => transferring dockerfile: 184B                                                                                                                                                   0.0s
 => [ui internal] load metadata for docker.io/library/node:18-alpine                                                                                                                   1.9s
 => [ui internal] load .dockerignore                                                                                                                                                   0.0s
 => => transferring context: 2B                                                                                                                                                        0.0s
 => [ui 1/5] FROM docker.io/library/node:18-alpine@sha256:ca9f6cb0466f9638e59e0c249d335a07c867cd50c429b5c7830dda1bed584649                                                             0.0s
 => [ui internal] load build context                                                                                                                                                   0.0s
 => => transferring context: 73B                                                                                                                                                       0.0s
 => CACHED [ui 2/5] WORKDIR /app                                                                                                                                                       0.0s
 => CACHED [ui 3/5] COPY package* /app/                                                                                                                                                0.0s
 => ERROR [ui 4/5] RUN npm i                                                                                                                                                           0.1s
------
 > [ui 4/5] RUN npm i:
------
failed to solve: process "/bin/sh -c npm i" did not complete successfully: failed to create endpoint p5ias8jvqjcde9c7m57r2nxmd on network bridge: failed to add the host (veth4accf20) <=> sandbox (veth51416f7) pair interfaces: operation not supported
  • Using npm locally didn't worked, and also I wouldn't be able to run it If it required libremesh/openwrt to be setup on my router as I checked its support isn't available.

I have worked on development of Webui for retroshare, and got to know about libremesh from G10h4ck.

PLEASE help @selankon.

@selankon
Copy link
Collaborator

Hi @zelfroster ,

If you need to urn a libremesh virtualized system check this https://github.com/libremesh/lime-packages/blob/master/TESTING.md#development-with-qemu-virtual-machine .

If you want to develop on limeapp without having a libremesh compatible router you have to do it on this way,

If you are using last develop branch, I suggest to use node version 16 until this is merged #401 . You can use nvm to change node version easily: https://github.com/nvm-sh/nvm .

And about the docker i never used it so i cannot help with that.

@selankon
Copy link
Collaborator

closing due lack of activity

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