Skip to content

Cannot install - 404 error on URL #323

@dorothyDorothy

Description

@dorothyDorothy

Tried installing challenge-1-decentralized-staking using yarn and then using npm, both failed

Yarn install fails.
Looks like it is the missing content at https://codeload.github.com/hugomrdias/concat-stream/tar.gz/057bc7b5d6d8df26c8cf00a3f151b6721a0a8034

Here are some details:

Yarn version:
1.22.19

Node version:
18.17.1

Platform:
linux x64

Trace:
Error: https://codeload.github.com/hugomrdias/concat-stream/tar.gz/057bc7b5d6d8df26c8cf00a3f151b6721a0a8034: Request failed "404 Not Found"
at ResponseError.ExtendableBuiltin (/<local_path>/.nvm/versions/node/v18.17.1/lib/node_modules/yarn/lib/cli.js:696:66)
at new ResponseError (/<local_path>/.nvm/versions/node/v18.17.1/lib/node_modules/yarn/lib/cli.js:802:124)
at Request. (<local_path>/.nvm/versions/node/v18.17.1/lib/node_modules/yarn/lib/cli.js:66215:16)
at Request.emit (node:events:514:28)
at module.exports.Request.onRequestResponse (<local_path>/.nvm/versions/node/v18.17.1/lib/node_modules/yarn/lib/cli.js:141767:10)
at ClientRequest.emit (node:events:514:28)
at HTTPParser.parserOnIncomingClient (node:_http_client:700:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
at TLSSocket.socketOnData (node:_http_client:541:22)
at TLSSocket.emit (node:events:514:28)

npm fails
Here are the details:

/<local_path>/.npm/_logs/2023-08-31T13_14_33_660Z-debug-0.log

npm resolution error report

While resolving: @scaffold-eth/react-app@1.0.0
Found: @testing-library/dom@6.16.0
node_modules/@testing-library/dom
dev @testing-library/dom@"^6.12.2" from @scaffold-eth/react-app@1.0.0
packages/react-app
@scaffold-eth/react-app@1.0.0
node_modules/@scaffold-eth/react-app
workspace packages/react-app from the root project

Could not resolve dependency:
peer @testing-library/dom@">=7.21.4" from @testing-library/user-event@12.8.3
node_modules/@testing-library/user-event
@testing-library/user-event@"^12.1.8" from @scaffold-eth/react-app@1.0.0
packages/react-app
@scaffold-eth/react-app@1.0.0
node_modules/@scaffold-eth/react-app
workspace packages/react-app from the root project

Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions