Hello everyone, I tested the installation of Peertube on different systems, but I always get similar results that I have to fix later. Is it possible to somehow fix the documentation during installation so that these dependency errors do not occur? Thank you
I put on Debian 12, Ubuntu 22.04\24.04 the results with dependencies are about the same.
warning " > @typescript-eslint/eslint-plugin@7.13.1" has unmet peer dependency "@typescript-eslint/parser@^7.0.0".
warning " > chai-json-schema@1.5.1" has incorrect peer dependency "chai@>= 1.6.1 < 5".
warning " > eslint-config-standard-with-typescript@43.0.1" has incorrect peer dependency "@typescript-eslint/eslint-plugin@^6.4.0".
warning "swagger-cli > @apidevtools/swagger-cli > @apidevtools/swagger-parser@10.1.0" has unmet peer dependency "openapi-types@>=7".
[5/5] Building fresh packages...
$ test -n "$NOCLIENT" || (cd client && yarn install --pure-lockfile)
yarn install v1.22.22
[1/4] Resolving packages...
[2/4] Fetching packages...
warning @zip.js/zip.js@2.7.45: The engine "deno" appears to be invalid.
warning @zip.js/zip.js@2.7.45: The engine "bun" appears to be invalid.
warning chart.js@4.4.3: The engine "pnpm" appears to be invalid.
warning vscode-languageclient@7.0.0: The engine "vscode" appears to be invalid.
[3/4] Linking dependencies...
warning " > @angular-eslint/eslint-plugin@18.0.1" has unmet peer dependency "@typescript-eslint/utils@^7.11.0 || ^8.0.0-alpha.20".
warning "@angular-eslint/eslint-plugin > @angular-eslint/utils@18.0.1" has unmet peer dependency "@typescript-eslint/utils@^7.11.0 || ^8.0.0-alpha.20".
warning " > @angular-eslint/eslint-plugin-template@18.0.1" has unmet peer dependency "@typescript-eslint/utils@^7.11.0 || ^8.0.0-alpha.20".
warning " > @angular-eslint/schematics@18.0.1" has unmet peer dependency "@angular-devkit/core@>= 18.0.0 < 19.0.0".
warning " > @angular-eslint/schematics@18.0.1" has unmet peer dependency "@angular-devkit/schematics@>= 18.0.0 < 19.0.0".
warning " > angularx-qrcode@17.0.1" has incorrect peer dependency "@angular/core@^17.0.0".
warning " > stylelint-config-sass-guidelines@11.1.0" has unmet peer dependency "postcss@^8.4.21".
warning "stylelint-config-sass-guidelines > postcss-scss@4.0.9" has unmet peer dependency "postcss@^8.4.29".
After the standard installation according to the instructions, I should update the following components, and they are updated(is it possible to immediately make them updated?)
npm install -g npm
Fix warnings with dependencies, but is it worth fixing them and how critical is it for PeerTube?
yarn add @typescript-eslint/parser@^7.0.0
yarn add chai@^4.3.4
yarn add @typescript-eslint/utils@^7.11.0
yarn add postcss@^8.4.21
This command pulls deprecated dependencies again,
npx install-peerdeps @typescript-eslint/parser
and you have to put it manually
yarn add eslint@^8.56.0 typescript@^4.2.0
rm package-lock.json
And so you have to do it every time, is it possible to automate it somehow during installation? Thanks