0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ERROR: Failed to set up Chromium r1045629! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download. Error: connect ECONNREFUSED 2404:6800:4004:81f::2010:443

Posted at

npm installでエラーがでるー

$ npm i
npm WARN deprecated puppeteer@18.2.1: < 19.2.0 is no longer supported
npm ERR! code 1
npm ERR! path /home/kudu/Downloads/myproj/node_modules/puppeteer
npm ERR! command failed
npm ERR! command sh -c -- node install.js
npm ERR! ERROR: Failed to set up Chromium r1045629! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
npm ERR! Error: connect ECONNREFUSED 2404:6800:4004:81f::2010:443
npm ERR!     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1251:16) {
npm ERR!   errno: -111,
npm ERR!   code: 'ECONNREFUSED',
npm ERR!   syscall: 'connect',
npm ERR!   address: '2404:6800:4004:81f::2010',
npm ERR!   port: 443
npm ERR! }

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kudu/.npm/_logs/2023-02-18T00_05_40_109Z-debug-0.log

教えてSenapi

IPv6を使わないようにする

NODE_OPTIONS=--dns-result-order=ipv4first npm install
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?