Skip to content

Running the examples #3

@gusfelhberg

Description

@gusfelhberg

Overview

Failure to compile examples

Error message:
./node_modules/vis-timeline/esnext/esm/vis-timeline-graph2d.js
Attempted import error: 'isDataViewLike' is not exported from 'vis-data/esnext/esm/vis-data.js'.

Package versions

react-visjs-timeline: 2.0.3
vis version: 4.21.0

Steps to reproduce

I have cloned the repo and tried to run the examples:
git clone https://github.com/razbensimon/react-vis-timeline.git
cd react-vis-timeline/examples
npm install
npm start

Code Snippet

I have made no change in the latest code

Related issues

After running and getting the error, I've noticed that the vis package was not installed. I installed it (version 4.21.0), but the error continued the same.

Screenshots (if appropriate)

image
image

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