dec0dOS / zero-ui

ZeroUI - ZeroTier Controller Web UI - is a web user interface for a self-hosted ZeroTier network controller.
GNU General Public License v3.0
912 stars 146 forks source link

bug: Unable to start from sources #208

Open mcondarelli opened 5 months ago

mcondarelli commented 5 months ago

Bug Report

I am working under a fully updated Debian Sid so yarn has been renamed to yarnpkg

ZeroUI version:

It doesn't matter (1.12.1 for the curious).

Current behavior:

I tried to start the development server:

mcon@cinderella:~/Projects$ git clone https://github.com/dec0dOS/zero-ui.git
Cloning into 'zero-ui'...
remote: Enumerating objects: 2084, done.
remote: Counting objects: 100% (913/913), done.
remote: Compressing objects: 100% (371/371), done.
remote: Total 2084 (delta 561), reused 724 (delta 500), pack-reused 1171
Receiving objects: 100% (2084/2084), 7.44 MiB | 22.73 MiB/s, done.
Resolving deltas: 100% (1123/1123), done.
mcon@cinderella:~/Projects$ cd zero-ui/
mcon@cinderella:~/Projects/zero-ui$ yarnpkg install
➤ YN0000: · Yarn 4.0.2
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 0s 264ms
➤ YN0000: ┌ Fetch step
➤ YN0018: │ @babel/runtime@npm:7.23.2: The remote archive doesn't match the expected checksum
➤ YN0018: │ cross-fetch@npm:3.1.6: The remote archive doesn't match the expected checksum
➤ YN0018: │ html-parse-stringify@npm:3.0.1: The remote archive doesn't match the expected checksum
➤ YN0018: │ i18next-browser-languagedetector@npm:7.1.0: The remote archive doesn't match the expected checksum
➤ YN0018: │ i18next-http-backend@npm:2.2.2: The remote archive doesn't match the expected checksum
➤ YN0018: │ i18next@npm:23.5.1: The remote archive doesn't match the expected checksum
➤ YN0018: │ node-fetch@npm:2.7.0: The remote archive doesn't match the expected checksum
➤ YN0018: │ react-i18next@npm:13.3.0: The remote archive doesn't match the expected checksum
➤ YN0018: │ tr46@npm:0.0.3: The remote archive doesn't match the expected checksum
➤ YN0018: │ webidl-conversions@npm:3.0.1: The remote archive doesn't match the expected checksum
➤ YN0018: │ whatwg-url@npm:5.0.0: The remote archive doesn't match the expected checksum
➤ YN0018: │ void-elements@npm:3.1.0: The remote archive doesn't match the expected checksum
➤ YN0000: └ Completed in 5s 623ms
➤ YN0000: · Failed with errors in 5s 902ms

Expected behavior:

Installation of required packages.

Steps to reproduce:

I assume this is some kind of mismatch between my version of yarn[pkg] and what zero-ui expects, but that's just a guess.

mcon@cinderella:~/Projects/zero-ui$ sudo zerotier-cli -v
1.12.1
mcon@cinderella:~/Projects/zero-ui$ yarnpkg --version
4.0.2

Note: I'm not a Javascript programmer, even if I did a bit of it, so I might be missing the obvious.

Related code:

None

Other information:

None

aruznieto commented 4 months ago

Try to enable corepack first

https://yarnpkg.com/getting-started/install