Не устанавливается пакет npm gulp-svg-sprite?

Не могу установить gulp-svg-sprite, с другими пакетами проблем нет.

node - v16.13.2
npm - v8.1.2
npx - v8.1.2

ошибки

$ npm i gulp-svg-sprite
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
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 phantomjs-prebuilt@2.1.16: this package is now deprecated
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 /mnt/c/Users/alex_windows/Desktop/Project/node_modules/phantomjs-prebuilt
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! PhantomJS not found on PATH
npm ERR! Download already available at /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
npm ERR! Verified checksum of previously downloaded file
npm ERR! Extracting tar contents (via spawned process)
npm ERR! Error extracting archive
npm ERR! Phantom installation failed Error: Command failed: tar jxf /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
npm ERR! tar (child): bzip2: Cannot exec: No such file or directory
npm ERR! tar (child): Error is not recoverable: exiting now
npm ERR! tar: Child returned status 2
npm ERR! tar: Error is not recoverable: exiting now
npm ERR!
npm ERR!     at ChildProcess.exithandler (node:child_process:397:12)
npm ERR!     at ChildProcess.emit (node:events:390:28)
npm ERR!     at maybeClose (node:internal/child_process:1064:16)
npm ERR!     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {
npm ERR!   killed: false,
npm ERR!   code: 2,
npm ERR!   signal: null,
npm ERR!   cmd: 'tar jxf /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2'
npm ERR! } Error: Command failed: tar jxf /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
npm ERR! tar (child): bzip2: Cannot exec: No such file or directory
npm ERR! tar (child): Error is not recoverable: exiting now
npm ERR! tar: Child returned status 2
npm ERR! tar: Error is not recoverable: exiting now
npm ERR!
npm ERR!     at ChildProcess.exithandler (node:child_process:397:12)
npm ERR!     at ChildProcess.emit (node:events:390:28)
npm ERR!     at maybeClose (node:internal/child_process:1064:16)
npm ERR!     at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/alex_linux/.npm/_logs/2022-02-07T05_30_15_771Z-debug.log

  • Вопрос задан
  • 163 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы