Skip to content

Zeppelin-web build fails with PhantomJS errors #4

@pravin-dsilva

Description

@pravin-dsilva

Project: Zeppelin-web

Error Message:

[INFO] > [email protected] install /home/pravin/HDP25-openpower/HDP2.5-zeppelin/zeppelin-web/node_modules/karma-phantomjs-launcher/node_modules/phantomjs
[INFO] > node install.js
[INFO]
[INFO] PhantomJS not found on PATH
[ERROR] Unexpected platform or architecture: linux/ppc64
[ERROR] It seems there is no binary available for your platform/architecture
[ERROR] Try to install PhantomJS globally
[ERROR] npm ERR! Linux 3.10.0-327.el7.ppc64le
[ERROR] npm ERR! argv "/home/pravin/HDP25-openpower/HDP2.5-zeppelin/zeppelin-web/node/node" "/home/pravin/HDP25-openpower/HDP2.5-zeppelin/zeppelin-web/node/node_modules/npm/bin/npm-cli.js" "install"
[ERROR] npm ERR! node v4.4.7
[ERROR] npm ERR! npm  v2.15.0
[ERROR] npm ERR! code ELIFECYCLE
[ERROR]
[ERROR] npm ERR! [email protected] install: `node install.js`
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the [email protected] install script 'node install.js'.
[ERROR] npm ERR! This is most likely a problem with the phantomjs package,
[ERROR] npm ERR! not with npm itself.
[ERROR] npm ERR! Tell the author that this fails on your system:
[ERROR] npm ERR!     node install.js

Solution:
The phantomjs 2.1.1 ,which is installed globally is not detected . To resolve the issue, add Phantomjs version ^1.9.8 in zeppelin-web/package.json .

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