Я скачиваю плагин gulp-svg-sprite. Возникает ошибка. Другие плагины скачиваются нормально.
$ npm i -D gulp-svg-sprite
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated phantomjs-prebuilt@2.1.16: this package is now deprecated
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm ERR! code 1
npm ERR! path C:\Users\ivan7\Desktop\IT\node_modules\phantomjs-prebuilt
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node install.js
npm ERR! PhantomJS not found on PATH
npm ERR! Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-windows.zip
npm ERR! Saving to C:\Users\ivan7\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip
npm ERR! Using proxy http://domain:8080/
npm ERR! Receiving...
npm ERR! Error making request.
npm ERR! Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND domain
npm ERR! at ClientRequest.onError (C:\Users\ivan7\Desktop\IT\node_modules\tunnel-agent\index.js:177:17)
npm ERR! at Object.onceWrapper (node:events:640:26)
npm ERR! at ClientRequest.emit (node:events:520:28)
npm ERR! at Socket.socketErrorListener (node:_http_client:442:9)
npm ERR! at Socket.emit (node:events:520: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!
npm ERR! Please report this full log at https://github.com/Medium/phantomjs
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ivan7\AppData\Local\npm-cache_logs\2022-03-06T05_26_34_078Z-debug-0.log
ivan7@DESKTOP-KOT7TAJ MINGW64 ~/Desktop/IT (master)
$ npm install phantomjs-prebuilt --phantomjs_cdnurl=https://bitbucket.org/ariya/phantomjs/downloads
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated phantomjs-prebuilt@2.1.16: this package is now deprecated
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code 1
npm ERR! path C:\Users\ivan7\Desktop\IT\node_modules\phantomjs-prebuilt
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node install.js
npm ERR! PhantomJS not found on PATH
npm ERR! Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-windows.zip
npm ERR! Saving to C:\Users\ivan7\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip
npm ERR! Using proxy http://domain:8080/
npm ERR! Receiving...
npm ERR! Error making request.
npm ERR! Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND domain
npm ERR! at ClientRequest.onError (C:\Users\ivan7\Desktop\IT\node_modules\tunnel-agent\index.js:177:17)
npm ERR! at Object.onceWrapper (node:events:640:26)
npm ERR! at ClientRequest.emit (node:events:520:28)
npm ERR! at Socket.socketErrorListener (node:_http_client:442:9)
npm ERR! at Socket.emit (node:events:520: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!
npm ERR! Please report this full log at https://github.com/Medium/phantomjs
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ivan7\AppData\Local\npm-cache_logs\2022-03-06T05_32_17_759Z-debug-0.log
Я скачиваю плагин gulp-svg-sprite. Возникает ошибка. Другие плагины скачиваются нормально.
$ npm i -D gulp-svg-sprite npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated phantomjs-prebuilt@2.1.16: this package is now deprecated npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x. npm ERR! code 1 npm ERR! path C:\Users\ivan7\Desktop\IT\node_modules\phantomjs-prebuilt npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node install.js npm ERR! PhantomJS not found on PATH npm ERR! Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-windows.zip npm ERR! Saving to C:\Users\ivan7\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip npm ERR! Using proxy http://domain:8080/ npm ERR! Receiving... npm ERR! Error making request. npm ERR! Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND domain npm ERR! at ClientRequest.onError (C:\Users\ivan7\Desktop\IT\node_modules\tunnel-agent\index.js:177:17) npm ERR! at Object.onceWrapper (node:events:640:26) npm ERR! at ClientRequest.emit (node:events:520:28) npm ERR! at Socket.socketErrorListener (node:_http_client:442:9) npm ERR! at Socket.emit (node:events:520: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! npm ERR! Please report this full log at https://github.com/Medium/phantomjs
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\ivan7\AppData\Local\npm-cache_logs\2022-03-06T05_26_34_078Z-debug-0.log
ivan7@DESKTOP-KOT7TAJ MINGW64 ~/Desktop/IT (master) $ npm install phantomjs-prebuilt --phantomjs_cdnurl=https://bitbucket.org/ariya/phantomjs/downloads npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated phantomjs-prebuilt@2.1.16: this package is now deprecated npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code 1 npm ERR! path C:\Users\ivan7\Desktop\IT\node_modules\phantomjs-prebuilt npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node install.js npm ERR! PhantomJS not found on PATH npm ERR! Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-windows.zip npm ERR! Saving to C:\Users\ivan7\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip npm ERR! Using proxy http://domain:8080/ npm ERR! Receiving... npm ERR! Error making request. npm ERR! Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND domain npm ERR! at ClientRequest.onError (C:\Users\ivan7\Desktop\IT\node_modules\tunnel-agent\index.js:177:17) npm ERR! at Object.onceWrapper (node:events:640:26) npm ERR! at ClientRequest.emit (node:events:520:28) npm ERR! at Socket.socketErrorListener (node:_http_client:442:9) npm ERR! at Socket.emit (node:events:520: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! npm ERR! Please report this full log at https://github.com/Medium/phantomjs
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\ivan7\AppData\Local\npm-cache_logs\2022-03-06T05_32_17_759Z-debug-0.log