Answer the question
In order to leave comments, you need to log in
npm package gulp-svg-sprite not installing?
Can't install gulp-svg-sprite, no problems with other packages .
node - v16.13.2
npm - v8.1.2
npx - v8.1.2
$ npm i gulp-svg-sprite
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: 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 [email protected]: this package is now deprecated
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: 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
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question