visjs / vis-network

:dizzy: Display dynamic, automatically organised, customizable network views.
https://visjs.github.io/vis-network/
Apache License 2.0
3.07k stars 374 forks source link

Yarn build produces an error #386

Open DarylMcCullough opened 4 years ago

DarylMcCullough commented 4 years ago

I have tried cloning the visjs/vis-network project and building it on my machine. I get an error:

fs.js:27
const { Math, Object } = primordials;
                         ^

ReferenceError: primordials is not defined

Am I lacking some pre-requisite?

DarylMcCullough commented 4 years ago

Okay, this is not specific to visjs, but is discussed here:

https://stackoverflow.com/questions/55921442/how-to-fix-referenceerror-primordials-is-not-defined-in-node

Thomaash commented 4 years ago

Hi @DarylMcCullough,

I tried to install and build with Yarn and it worked fine (Node 13.7 and Yarn 1.21.1). If this happens only with unsupported version of Gulp there's nothing to do. Can it be closed then or is there something I missed?