alexcode / vue2vis

A Vuejs 2 adapter for Visjs
MIT License
217 stars 59 forks source link

Unmet dependencies with `@vue2vis/network` #90

Open ntma opened 3 years ago

ntma commented 3 years ago

Hi vue2vis team,

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

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
Surt commented 2 years ago

Same problem for me with Timeline.

MarceloNG commented 2 years ago

Same problem.