pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: npm 8.8.0 build failure
Hi,
To add to the above, I am getting the same error on 'gmake' in the
cloned latest npm 8.11, whereas 'curl -qL
https://www.npmjs.com/install.sh | sh' installs an apparently
functioning version of npm 8.11; however, when I then try to install
yarn, I get the same error message:
npm install --global yarn
npm WARN config global `--global`, `--local` are deprecated. Use
`--location=global` instead.
npm ERR! code EHOSTUNREACH
npm ERR! syscall connect
npm ERR! errno EHOSTUNREACH
npm ERR! request to https://registry.npmjs.org/yarn failed, reason:
connect EHOSTUNREACH 2606:4700::6810:1523:443 - Local (:::62037)
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-05-28T19_50_59_785Z-debug-0.log
....
On Sat, 28 May 2022 at 20:39, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> Hi,
>
> On yesterday's -current amd64 with updated pkgsrc I build nodejs 18
> and then tried to build npm. I am getting consistently:
>
> ...
> ===> Building for npm-8.8.0nb1
> node bin/npm-cli.js run resetdeps
>
> > npm@8.8.0 resetdeps
> > bash scripts/resetdeps.sh
>
> + node . i --ignore-scripts --no-audit --no-fund
> [ 86249.0867449] load: 4.04 cmd: node 28070 [parked parked parked
> parked psem parked parked parked parked kqueue kqueue] 4.98u 0.82s 0%
> 81076k
> make: Working in: /usr/pkgsrc/lang/npm
> make[1]: Working in: /usr/pkgsrc/lang/npm
> npm ERR! code EHOSTUNREACH
> npm ERR! syscall connect
> npm ERR! errno EHOSTUNREACH
> npm ERR! request to https://registry.npmjs.org/tap/-/tap-16.0.1.tgz
> failed, reason: connect EHOSTUNREACH 2606:4700::6810:1723:443 - Local
> (:::62098)
>
> npm ERR! A complete log of this run can be found in:
> npm ERR! /usr/pkgsrc/lang/npm/work/.home/.npm/_logs/2022-05-28T19_32_04_102Z-debug-0.log
> gmake: *** [Makefile:53: deps] Error 1
> *** Error code 2
> ....
>
> The error log file contains again:
> ....
>
> 79 verbose stack FetchError: request to
> https://registry.npmjs.org/tap/-/tap-16.0.1.tgz failed, reason:
> connect EHOSTUNREACH 2606:4700::6810:1723:443 - Local (:::62098)
> 79 verbose stack at ClientRequest.<anonymous>
> (/usr/pkgsrc/lang/npm/work/cli-8.8.0/node_modules/minipass-fetch/lib/index.js:130:14)
> 79 verbose stack at ClientRequest.emit (node:events:527:28)
> 79 verbose stack at TLSSocket.socketErrorListener (node:_http_client:454:9)
> 79 verbose stack at TLSSocket.emit (node:events:539:35)
> 79 verbose stack at emitErrorNT (node:internal/streams/destroy:151:8)
> 79 verbose stack at emitErrorCloseNT (node:internal/streams/destroy:116:3)
> 79 verbose stack at process.processTicksAndRejections
> (node:internal/process/task_queues:82:21)
> 80 verbose cwd /usr/pkgsrc/lang/npm/work/cli-8.8.0
> 81 verbose NetBSD 9.99.97
> 82 verbose node v18.2.0
> 83 verbose npm v8.8.0
> 84 error code EHOSTUNREACH
> 85 error syscall connect
> 86 error errno EHOSTUNREACH
> 87 error request to https://registry.npmjs.org/tap/-/tap-16.0.1.tgz
> failed, reason: connect EHOSTUNREACH 2606:4700::6810:1723:443 - Local
> (:::62098)
> 88 verbose exit 1
> ....
>
> However, 'wget https://registry.npmjs.org/tap/-/tap-16.0.1.tgz'
> succeeds. I tried manually placing the archive in the work tree
> parallel to the other myriad of .tgs files, to no avail.
>
> Any hints?
>
>
> Chavdar
>
>
> --
> ----
--
----
Home |
Main Index |
Thread Index |
Old Index