1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bonfire_ynh.git synced 2024-09-03 18:16:01 +02:00

Install correct yarn version

> ERROR: There are no scenarios; must have at least one.

https://stackoverflow.com/questions/53471063/yarn-error-there-are-no-scenarios-must-have-at-least-one
This commit is contained in:
lapineige 2023-05-03 15:08:22 +02:00 committed by GitHub
parent 5f0060abef
commit 544d7ceaaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,14 +51,21 @@ ynh_replace_string --match_string="UPLOAD_LIMIT=MEDIA_UPLOAD_SIZE" --replace_str
#=================================================
# Elixir 13 dependency
#=================================================
ynh_script_progression --message="Managing special dependencies..." --weight=1
# Bulleyes comes with v1.10 instead of v1.13 that is required
ynh_install_extra_app_dependencies --repo="https://packages.erlang-solutions.com/debian bullseye contrib" --package="elixir" --key='https://packages.erlang-solutions.com/debian/erlang_solutions.asc'
# exlang-dev -> https://github.com/elixir-lang/ex_doc/pull/1442/files # Debian default package is newer (enough), don't use this custom repo
#=================================================
# Yarn dependency (correct version)
#=================================================
ynh_install_extra_app_dependencies --repo="https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key='https://dl.yarnpkg.com/debian/pubkey.gpg'
#=================================================
# Just dependency
#=================================================
ynh_script_progression --message="Managing special dependencies..." --weight=1
### Add just dependency
# TODO : this is unsafe and should be dealt with in a better way.
# There is currently no proper way to install it simply on Debian 11 https://github.com/casey/just#packages