【问题标题】:Installation problem with Vega visualization grammar on UbuntuUbuntu上Vega可视化语法的安装问题
【发布时间】:2020-04-01 13:33:40
【问题描述】:

我正在尝试在 Ubuntu 18.04.4 LTS 上安装 vega,但无法使用 yarn add 命令安装 vega。

命令输出

E5450:~/Downloads/vega-master$ yarn add vega
yarn add v1.22.4
error Running this command will add the dependency to the workspace root rather than the 
workspace itself, which might not be what you want - if you really meant it, make it 
explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
E5450:~/Downloads/vega-master$ yarn -W add vega
yarn add v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info fsevents@1.2.12: The platform "linux" is incompatible with this module.
info "fsevents@1.2.12" is an optional dependency and failed compatibility check. Excluding 
it from installation.
error dtslint@3.4.0: The engine "node" is incompatible with this module. Expected version 
">=10.0.0". Got "8.10.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

我找不到有关此错误的任何信息。请提出建议。

【问题讨论】:

    标签: installation yarnpkg vega incompatibility


    【解决方案1】:

    我没有运行 vega github 页面上给出的yarn 命令,而是运行yarn --ignore-engines 来安装vega。这很好用。

    【讨论】:

      猜你喜欢
      • 2013-02-02
      • 1970-01-01
      • 1970-01-01
      • 2012-04-20
      • 2017-09-26
      • 2015-05-30
      • 2017-07-24
      • 2015-01-13
      • 1970-01-01
      相关资源
      最近更新 更多