You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by ro...@orange.com on 2020/10/01 10:23:36 UTC

Cannot enable helium package

Hello,

I wish to integrate VEGA visualizations on zeppelin (version : 0.8.2) . So I created 3 files to import these visualizations on Helium :


-        HelloWorld.js : /home/romain/visu-vegas/Test01_HelloWorld/HelloWorld.js

-        HelloWorld.json : /home/romain/visu-vegas/Test01_HelloWorld/HelloWorld.json

-        package.json : /home/romain/visu-vegas/Test01_HelloWorld/package.json


This is my package.json :

{
    "name": "HelloWorld",
    "description": "affichage d'une phrase",
    "version": "1.0.0",
    "main": "HelloWorld",
    "author": "",
    "license": "Apache-2.0",
    "dependencies": {
        "zeppelin-tabledata": "*",
        "zeppelin-vis": "*",
        "vega": "^5.16.1",
        "vega-embed": "^6.12.2",
        "vega-lite": "^4.16.7"
    }
}

When I click on "enable" for import "HelloWorld" visualizations, it returns me an error whereas when I do the manipulation in command line (putty) there is no error. Below is a copy of the error.

com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'yarn install --fetch-retries=2 --fetch-retry-factor=1 --fetch-retry-mintimeout=5000 --registry=http://registry.npmjs.org/' failed. (error code 1)

To see the logs, I run a command line: "tail -f zeppelin-romain-vmlinux.log" from this directory: cd zeppelin-0.8.2-bin-all/logs.
So, here are the corresponding error logs when I click on "enable":

ERROR [2020-10-01 12:19:12,970] ({qtp1580893732-16} HeliumRestApi.java[enablePackage]:216) - com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'yarn install --fetch-retries=2 --fetch-retry-factor=1 --fetch-retry-mintimeout=5000 --registry=http://registry.npmjs.org/' failed. (error code 1)
java.io.IOException: com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: 'yarn install --fetch-retries=2 --fetch-retry-factor=1 --fetch-retry-mintimeout=5000 --registry=http://registry.npmjs.org/' failed. (error code 1)

But this command goes to CLI when I'm in the bundle directory.

Do you have any idea why it doesn't work?

Thank you.
Sincerely.

Romain D.


_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.