по мануалу, получаю такой вывод
root@debian-mac-vm:~/cloudserver# yarn install
yarn install v1.22.19
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
warning Pattern ["httpagent@github:scality/httpagent#1.0.6"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-httpagent-1.0.6/node_modules/httpagent" as pattern ["httpagent@scality/httpagent#1.0.6"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["werelogs@github:scality/werelogs#8.1.2"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-werelogs-8.1.2-c9952528699978e4b09164c67922b4fbcfd4654f/node_modules/werelogs" as pattern ["werelogs@scality/werelogs#8.1.2"]. This could result in non-deterministic behavior, skipping.
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
warning Pattern ["httpagent@scality/httpagent#1.0.6"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-httpagent-1.0.6/node_modules/httpagent" as pattern ["httpagent@github:scality/httpagent#1.0.6"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["werelogs@scality/werelogs#8.1.2"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-werelogs-8.1.2/node_modules/werelogs" as pattern ["werelogs@github:scality/werelogs#8.1.2"]. This could result in non-deterministic behavior, skipping.
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
warning Pattern ["httpagent@scality/httpagent#1.0.6"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-httpagent-1.0.6/node_modules/httpagent" as pattern ["httpagent@github:scality/httpagent#1.0.6"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["werelogs@scality/werelogs#8.1.2"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-werelogs-8.1.2/node_modules/werelogs" as pattern ["werelogs@github:scality/werelogs#8.1.2"]. This could result in non-deterministic behavior, skipping.
error https://registry.yarnpkg.com/typescript/-/typescript-4.6.2.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT: no such file or directory, stat '/usr/local/share/.cache/yarn/v6/npm-typescript-4.6.2-fe12d2727b708f4eef40f51598b3398baa9611d4-integrity/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json'"
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Может фиксил кто-нибудь такие ошибки при установке?
yarn/npm cache сбросить попробуй.
yarn cache clean
не, тоже самое
У меня приклад в контейнере собирается, я так делал чтобы кэш мозги не трахал RUN apk add yarn --no-cache
Тут написано, что он не может распаковать архив с typescript. Ну не знаю - поменяй версию этого пакета на другую, нежели 4.6.2
Обсуждают сегодня