Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difficulty installing: aws-sdk-2.1165.0.tgz - file appears to be corrupt #5320

Open
James-Oakley opened this issue Sep 10, 2023 · 2 comments

Comments

@James-Oakley
Copy link

James-Oakley commented Sep 10, 2023

The issue template says to ask questions in the Zenko Forum. The Zenko forum says it's archived and inactive. So please direct this question to the required place.

I've just tried to install cloudserver using the latest (20.x) nodejs, and the latest yarn that was available from npm. This was otherwise a new server that had never before had any versions of nodejs installed on it.

After a couple of warnings, yarn install ran into an error:

warning Pattern ["httpagent@scality/httpagent#1.0.6"] is trying to unpack in the same destination "/home/zenko/.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 "/home/zenko/.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/aws-sdk/-/aws-sdk-2.1165.0.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: "ENOENT: no such file or directory, stat '/home/zenko/.cache/yarn/v6/npm-aws-sdk-2.1165.0-4da669d1e9020344cef75d961882f52a7931a379-integrity/node_modules/aws-sdk/dist/aws-sdk-react-native.js'"

The docs say to use nodejs 10.x and yarn 1.17.x. 10.x is very old - for Debian 11, it seems the supported major versions are currently nodejs 16, 18 and 20. Do I need to go back and find a way to install nodejs 10.x (even though security support ended in April 2021)? Or is the failure for yarn to install caused by something else?

I tried forcing npm install -g yarn@1.17.3, but the same problem occurred, so it's not the yarn version.

@AaronNGray
Copy link

Anyone solved this ?

@AaronNGray
Copy link

aws-sdk@2.1599.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants