Exit code: 1
Command: node install.js
Arguments:
Directory: /var/www/html/vendor/snowdog/frontools/node_modules/phantomjs-prebuilt
Output:
PhantomJS not found on PATH
Unexpected platform or architecture: linux/arm64
It seems there is no binary available for your platform/architecture
Node v16.15.0
PhantomJS is deprecated but it's used by gulp-svg-sprite.
Temporary fix that works for me, is to change in package.json:
While trying to install on Mac M1, there's issue:
Node v16.15.0
PhantomJS is deprecated but it's used by
gulp-svg-sprite
.Temporary fix that works for me, is to change in package.json:
Unfortunately new changes, that are dropping PhantomJS (in svg-sprite v2.0.0-beta1) are not released yet and working only on dev branch. https://github.com/svg-sprite/gulp-svg-sprite/commit/8b4803dfcd185749f52f4230344d559dbd483514
EDIT:
Release of new gulp-svg-sprite version dropping PhatnomJS is comming soon. https://github.com/svg-sprite/gulp-svg-sprite/issues/127#issuecomment-1141048410