Skip to content

在Windows下安装@chatie/tsconfig时报错 #44

@atorber

Description

@atorber

4.5.3一直到最新版本均有此问题,导致整个项目npm i 失败

npm WARN deprecated sinon@13.0.2: 16.1.1
npm ERR! code 1
npm ERR! path C:\Users\Administrator\Documents\GitHub\chatflow\node_modules\node-jq
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c npm run install-binary
npm ERR! > node-jq@1.12.0 install-binary
npm ERR! > node scripts/install-binary.js
npm ERR!
npm ERR! Downloading jq from https://github.com/stedolan/jq/releases/download/jq-1.6/jq-win64.exe
npm ERR! GotError [RequestError]: connect ETIMEDOUT 20.205.243.166:443
npm ERR! at ClientRequest. (C:\Users\Administrator\Documents\GitHub\chatflow\node_modules\got\index.js:182:22)
npm ERR! at Object.onceWrapper (node:events:642:26)
npm ERR! at ClientRequest.emit (node:events:527:28)
npm ERR! at TLSSocket.socketErrorListener (node:_http_client:454:9)
npm ERR! at TLSSocket.emit (node:events:527:28)
npm ERR! at emitErrorNT (node:internal/streams/destroy:157:8)
npm ERR! at emitErrorCloseNT (node:internal/streams/destroy:122:3)
npm ERR! at processTicksAndRejections (node:internal/process/task_queues:83:21) {
npm ERR! code: 'ETIMEDOUT',
npm ERR! host: 'github.com',
npm ERR! hostname: 'github.com',
npm ERR! method: 'GET',
npm ERR! path: '/stedolan/jq/releases/download/jq-1.6/jq-win64.exe',
npm ERR! protocol: 'https:',
npm ERR! url: 'https://github.com/stedolan/jq/releases/download/jq-1.6/jq-win64.exe'
npm ERR! }

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Local\npm-cache_logs\2024-01-25T18_49_45_701Z-debug-0.log

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