Загрузка данных


kotucheniy@ubuntu:~$ git clone https://github.com/computernewb/collabvm-1.2.ts.git
Cloning into 'collabvm-1.2.ts'...
remote: Enumerating objects: 2432, done.
remote: Counting objects: 100% (753/753), done.
remote: Compressing objects: 100% (305/305), done.
remote: Total 2432 (delta 554), reused 505 (delta 436), pack-reused 1679 (from 2)
Receiving objects: 100% (2432/2432), 927.58 KiB | 2.64 MiB/s, done.
Resolving deltas: 100% (1498/1498), done.
kotucheniy@ubuntu:~$ cd collabvm-1.2.ts
kotucheniy@ubuntu:~/collabvm-1.2.ts$ cp config.example.toml config.toml
kotucheniy@ubuntu:~/collabvm-1.2.ts$    ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:0c:29:cc:04:e4 brd ff:ff:ff:ff:ff:ff
    altname enp2s1
    inet 192.168.10.137/24 brd 192.168.10.255 scope global dynamic noprefixroute ens33
       valid_lft 1414sec preferred_lft 1414sec
    inet6 fe80::cdba:9b9e:64b9:66eb/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
kotucheniy@ubuntu:~/collabvm-1.2.ts$ yarn
Corepack is about to download https://repo.yarnpkg.com/4.1.1/packages/yarnpkg-cli/bin/yarn.js.

Do you want to continue? [Y/n] y
➤ YN0065: Yarn will periodically gather anonymous telemetry: https://yarnpkg.com/advanced/telemetry
➤ YN0065: Run yarn config set --home enableTelemetry 0 to disable

➤ YN0000: · Yarn 4.1.1
➤ YN0000: ┌ Resolution step
➤ YN0085: │ - @cvmts/collab-vm-1.2-binary-protocol@workspace:collab-vm-1.2-binary-protocol
➤ YN0000: └ Completed in 0s 447ms
➤ YN0000: ┌ Fetch step
➤ YN0066: │ typescript@patch:typescript@npm%3A5.5.4#optional!builtin<compat/typescript>::version=5.5.4&hash=5adc0c: Cannot apply hunk #1
➤ YN0013: │ 404 packages were added to the project (+ 374.79 MiB).
➤ YN0000: └ Completed in 52s 84ms
➤ YN0000: ┌ Link step
➤ YN0007: │ @cvmts/cvm-rs@workspace:cvm-rs must be built because it never has been before or the last one failed
➤ YN0007: │ @swc/core@npm:1.7.6 [5f821] must be built because it never has been before or the last one failed
➤ YN0007: │ msgpackr-extract@npm:3.0.3 must be built because it never has been before or the last one failed
➤ YN0007: │ lmdb@npm:2.8.5 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 3m 3s
➤ YN0000: · Done with warnings in 3m 56s
kotucheniy@ubuntu:~/collabvm-1.2.ts$ yarn build
[@cvmts/cvm-rs]: Process started
[@cvmts/cvm-rs]:     Finished `release` profile [optimized] target(s) in 0.13s
[@cvmts/cvm-rs]: Process exited (exit code 0), completed in 0s 573ms

[@cvmts/cvmts]: Process started
[@cvmts/cvmts]: src/CollabVMServer.ts(26,26): error TS2307: Cannot find module '@cvmts/collab-vm-1.2-binary-protocol' or its corresponding type declarations.
[@cvmts/cvmts]: src/User.ts(6,48): error TS2307: Cannot find module '@cvmts/collab-vm-1.2-binary-protocol' or its corresponding type declarations.
[@cvmts/cvmts]: src/Vote.ts(3,26): error TS2307: Cannot find module '@cvmts/collab-vm-1.2-binary-protocol' or its corresponding type declarations.
[@cvmts/cvmts]: src/protocol/BinRectsProtocol.ts(2,80): error TS2307: Cannot find module '@cvmts/collab-vm-1.2-binary-protocol' or its corresponding type declarations.
[@cvmts/cvmts]: src/protocol/GuacamoleProtocol.ts(6,26): error TS2307: Cannot find module '@cvmts/collab-vm-1.2-binary-protocol' or its corresponding type declarations.
[@cvmts/cvmts]: src/protocol/Protocol.ts(1,26): error TS2307: Cannot find module '@cvmts/collab-vm-1.2-binary-protocol' or its corresponding type declarations.
[@cvmts/cvmts]: Process exited (exit code 2), completed in 10s 209ms
The command failed for workspaces that are depended upon by other workspaces; can't satisfy the dependency graph
Failed with errors in 10s 795ms
kotucheniy@ubuntu:~/collabvm-1.2.ts$ yarn serve
node:internal/modules/esm/resolve:845
  throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
        ^

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@cvmts/collab-vm-1.2-binary-protocol' imported from /home/kotucheniy/collabvm-1.2.ts/cvmts/dist/CollabVMServer.js
    at packageResolve (node:internal/modules/esm/resolve:845:9)
    at moduleResolve (node:internal/modules/esm/resolve:918:18)
    at defaultResolve (node:internal/modules/esm/resolve:1148:11)
    at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:390:12)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:359:25)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:234:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:87:39)
    at link (node:internal/modules/esm/module_job:86:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v21.7.3
kotucheniy@ubuntu:~/collabvm-1.2.ts$ yarn build
[@cvmts/cvm-rs]: Process started
[@cvmts/cvm-rs]:     Finished `release` profile [optimized] target(s) in 0.08s
[@cvmts/cvm-rs]: Process exited (exit code 0), completed in 0s 421ms

[@cvmts/cvmts]: Process started
[@cvmts/cvmts]: src/CollabVMServer.ts(26,26): error TS2307: Cannot find module '@cvmts/collab-vm-1.2-binary-protocol' or its corresponding type declarations.
[@cvmts/cvmts]: src/User.ts(6,48): error TS2307: Cannot find module '@cvmts/collab-vm-1.2-binary-protocol' or its corresponding type declarations.
[@cvmts/cvmts]: src/Vote.ts(3,26): error TS2307: Cannot find module '@cvmts/collab-vm-1.2-binary-protocol' or its corresponding type declarations.
[@cvmts/cvmts]: src/protocol/BinRectsProtocol.ts(2,80): error TS2307: Cannot find module '@cvmts/collab-vm-1.2-binary-protocol' or its corresponding type declarations.
[@cvmts/cvmts]: src/protocol/GuacamoleProtocol.ts(6,26): error TS2307: Cannot find module '@cvmts/collab-vm-1.2-binary-protocol' or its corresponding type declarations.
[@cvmts/cvmts]: src/protocol/Protocol.ts(1,26): error TS2307: Cannot find module '@cvmts/collab-vm-1.2-binary-protocol' or its corresponding type declarations.
[@cvmts/cvmts]: Process exited (exit code 2), completed in 11s 375ms
The command failed for workspaces that are depended upon by other workspaces; can't satisfy the dependency graph
Failed with errors in 11s 810ms
kotucheniy@ubuntu:~/collabvm-1.2.ts$