PeerTube, no such option: --production

root@mx:/var/www/peertube# cd ./peertube-latest && sudo -H -u peertube yarn install --production --pure-lockfile
Usage: yarn [options]

yarn: error: no such option: --production
root@mx:/var/www/peertube/peertube-latest#



curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list


apt update && apt install yarn


повторим
cd ./peertube-latest && sudo -H -u peertube yarn install --production --pure-lockfile


yarn install v1.22.5
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "http-signature@1.3.4" is incompatible with requested version "http-signature@~1.2.0"
warning Resolution field "oauth2-server@3.1.0-beta.1" is incompatible with requested version "oauth2-server@3.0.0"
[3/5] Fetching packages...
info fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > @typescript-eslint/eslint-plugin@3.10.0" has unmet peer dependency "@typescript-eslint/parser@^3.0.0".
warning " > marked-man@0.7.0" has incorrect peer dependency "marked@^0.7.0".
[5/5] Building fresh packages...
$ test -n "$NOCLIENT" || (cd client && yarn install --pure-lockfile)
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...

0 комментариев

Только зарегистрированные и авторизованные пользователи могут оставлять комментарии.