Skip to content

Unmet dependencies with @vue2vis/network #90

@ntma

Description

@ntma

Hi vue2vis team,

I am following this README to setup a NuxtJs project with @vue2vis/network. However I am getting the following unmet dependencies:

  • @egjs/hammerjs;
  • keycharm;
  • uuid;
  • vis-util/esnext/esm/vis-util.js;

Am I missing some step?

Reproduction

Install @vue2vis/network with:

yarn add @vue2vis/network vis-data moment

And create the following NuxtJs plugin to import the component:

import Vue from "vue";
import Network from "@vue2vis/network";

Vue.component("network", Network);

CodeSandbox example here:

Build Output

Here is the output of the dependencies not satisfied:

ERROR  Failed to compile with 4 errors               friendly-errors 09:39:41

These dependencies were not found:                    friendly-errors 09:39:41
                                                      friendly-errors 09:39:41
* @egjs/hammerjs in ./node_modules/vis-network/esnext/esm/vis-network.js
* keycharm in ./node_modules/vis-network/esnext/esm/vis-network.js
* uuid in ./node_modules/vis-network/esnext/esm/vis-network.js
* vis-util/esnext/esm/vis-util.js in ./node_modules/vis-network/esnext/esm/vis-network.js
                                                      friendly-errors 09:39:41
To install them, you can run: npm install --save @egjs/hammerjs keycharm uuid vis-util/esnext/esm/vis-util.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions