Skip to content

Can not install frontools on arm64 CPUs #452

@patrykbura

Description

@patrykbura

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.
svg-sprite/gulp-svg-sprite@8b4803d


EDIT:

Release of new gulp-svg-sprite version dropping PhatnomJS is comming soon.
svg-sprite/gulp-svg-sprite#127 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions