magento2-frontools icon indicating copy to clipboard operation
magento2-frontools copied to clipboard

Can not install frontools on arm64 CPUs

Open patrykbura opened this issue 2 years ago • 1 comments

While trying to install on Mac M1, there's issue:

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:

"gulp-svg-sprite": "svg-sprite/gulp-svg-sprite#dev"

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

patrykbura avatar May 24 '22 11:05 patrykbura

SVG Sprite2.0.1 is released

navarr avatar Nov 23 '22 20:11 navarr