[Peertube] Install failure due to yarn dependencies

:uk:/:us: Message template (english)

The “support” category is meant to ask for help or troubleshooting related to installing or using YunoHost or its applications. It is not to ask assistance on general system administration, network administration or special use cases that goes beyond the scope of the project. If you wish to discuss more advanced use case, please post in the “Advanced Use Case” category.

Before posting, please :

My YunoHost server

Hardware: QEMU VM
YunoHost version: 11.2.11.3
I have access to my server : SSH/Webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:
If your request is related to an app, specify its name and version: peertube 6.1.0~ynh1

Description of my issue

Full log: https://paste.yunohost.org/raw/oripuqavef

yarn seems to be having issues installing the packages.

2024-05-04 14:48:04,528: DEBUG - yarn install v1.22.22
2024-05-04 14:48:05,122: DEBUG - [1/5] Validating package.json...
2024-05-04 14:48:05,149: DEBUG - [2/5] Resolving packages...
2024-05-04 14:48:06,922: DEBUG - [3/5] Fetching packages...
2024-05-04 14:49:37,804: DEBUG - [4/5] Linking dependencies...
2024-05-04 14:49:37,831: DEBUG - warning " > @typescript-eslint/eslint-plugin@7.0.2" has unmet peer dependency "@typescript-eslint/parser@^7.0.0".
2024-05-04 14:49:37,832: DEBUG - warning " > chai-json-schema@1.5.1" has incorrect peer dependency "chai@>= 1.6.1 < 5".
2024-05-04 14:49:37,833: DEBUG - warning " > eslint-config-standard-with-typescript@43.0.1" has incorrect peer dependency "@typescript-eslint/eslint-plugin@^6.4.0".
2024-05-04 14:49:37,837: DEBUG - warning "swagger-cli > @apidevtools/swagger-cli > @apidevtools/swagger-parser@10.1.0" has unmet peer dependency "openapi-types@>=7".
2024-05-04 14:50:00,023: DEBUG - [5/5] Building fresh packages...
2024-05-04 14:50:02,166: DEBUG - $ test -n "$NOCLIENT" || (cd client && yarn install --pure-lockfile)
2024-05-04 14:50:03,121: DEBUG - yarn install v1.22.22
2024-05-04 14:50:03,533: DEBUG - [1/4] Resolving packages...
2024-05-04 14:50:05,607: DEBUG - [2/4] Fetching packages...
2024-05-04 14:51:28,323: DEBUG - error @angular-devkit/build-angular@17.2.0: The engine "node" is incompatible with this module. Expected version "^18.13.0 || >=20.9.0". Got "20.7.0"
2024-05-04 14:51:28,352: DEBUG - error Found incompatible module.
2024-05-04 14:51:28,353: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2024-05-04 14:51:28,488: DEBUG - error Command failed with exit code 1.
2024-05-04 14:51:28,489: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2024-05-04 14:51:28,575: DEBUG - + ynh_exit_properly
2024-05-04 14:51:28,576: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2024-05-04 14:51:30,091: ERROR - Unable to install peertube: An error occurred inside the app installation script

I also read there was a problem at update.

So, the App package will change or already changed. You should try again.

Yeah, it works now.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.