react-testing-library icon indicating copy to clipboard operation
react-testing-library copied to clipboard

Error 404 during installation, some packages too olds

Open arnaudgs opened this issue 5 years ago • 1 comments

  • @testing-library/react version: latest (during npm install)
  • Testing Framework and version: JEST

Relevant code or config:

Error during npm install :

 npm install --save-dev @testing-library/react

What you did:

npm install --save-dev @testing-library/react

What happened:

HTTPError: Response code 404 (Not Found) for https://github.com/electron/electron/releases/download/v10.4.7/electron-v10.4.7-darwin-arm64.zip
    at EventEmitter.<anonymous> (/Users/gatsu/dev/DematCG/Front/node_modules/@electron/get/node_modules/got/source/as-stream.js:35:24)
    at EventEmitter.emit (events.js:400:28)
    at module.exports (/Users/gatsu/dev/DematCG/Front/node_modules/@electron/get/node_modules/got/source/get-response.js:22:10)
    at ClientRequest.handleResponse (/Users/gatsu/dev/DematCG/Front/node_modules/@electron/get/node_modules/got/source/request-as-event-emitter.js:155:5)
    at Object.onceWrapper (events.js:520:26)
    at ClientRequest.emit (events.js:412:35)
    at ClientRequest.origin.emit (/Users/gatsu/dev/DematCG/Front/node_modules/@electron/get/node_modules/@szmarczak/http-timer/source/index.js:37:11)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:647:27)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17)
    at TLSSocket.socketOnData (_http_client.js:515:22)

Reproduction:

Macbook pro M1 (Apple M1 processor), Mac OS 11.5.2

Problem description:

Error 404 when downloading electron

Suggested solution:

Update some packages

arnaudgs avatar Sep 28 '21 14:09 arnaudgs

Error From my own package.json that contains electron-pdf. sorry

arnaudgs avatar Sep 28 '21 14:09 arnaudgs