Re: [lime] How to test limeapp development versions

Delete this message

Reply to this message
Autore: pony
Data:  
To: LibreMesh.org project mailing list
Oggetto: Re: [lime] How to test limeapp development versions
Hi!

On Friday, 16 February 2024 09:01:13 CET Selan Kon via LibreMesh wrote:
> # Use Github actions generated artifacts
>
> If a PR contains the label `artifacts` a github action will run to build
> the app and publish the artifacts url on a comment on the PR itself.
>
> After download this artifacts you should send it to the router you want
> to test as shown below.


I can't download the artifact. For example when I click on the link in
https://github.com/libremesh/lime-app/pull/388#issuecomment-1947866117
I get
{
  "total_count": 1,
  "artifacts": [
    {
      "id": 1250439207,
      "node_id": "MDg6QXJ0aWZhY3QxMjUwNDM5MjA3",
      "name": "limeAppBuild",
      "size_in_bytes": 209143,
      "url": "https://api.github.com/repos/libremesh/lime-app/actions/artifacts/1250439207",
      "archive_download_url": "https://api.github.com/repos/libremesh/lime-app/actions/artifacts/1250439207/zip",
      "expired": false,
      "created_at": "2024-02-16T07:12:38Z",
      "updated_at": "2024-02-16T07:12:38Z",
      "expires_at": "2024-05-16T07:08:52Z",
      "workflow_run": {
        "id": 7927228722,
        "repository_id": 79859391,
        "head_repository_id": 455488360,
        "head_branch": "f/implement_new_landing",
        "head_sha": "31bb81c951dced9b07f10cc2d1ae39e813007bd3"
      }
    }
  ]
}
Then, when I click on the "archive_download_url", I get
{
  "message": "You must have the actions scope to download artifacts.",
  "documentation_url": "https://docs.github.com/rest/actions/artifacts#download-an-artifact"
}
It seems I do not have the necessary privileges?


On Friday, 16 February 2024 09:01:13 CET Selan Kon via LibreMesh wrote:
> ```
> nvm use v16.20.0
> ```
>
> 3. Install dependencies
>
> ```
> yarn
> ```


I have trouble with installing the dependencies. I get the following error:

[2/4] Fetching packages...
error commander@12.0.0: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.20.0"
error Found incompatible module.

With node v18.19.1 it builds fine. But you say that lime-app will crash with node version > 16?

Liebst,
Pony