mulesoft-labs / api-console-cli

A CLI tools for the API console.
Other
14 stars 15 forks source link

Build error: "primordials is not defined" Node.js-v12 #38

Closed viteos closed 5 years ago

viteos commented 5 years ago

Error on api-console build Node.js-v12.x primordials is not defined

jarrodek commented 5 years ago

Hi, Sorry for late response. I was on vacation.

Could you give a more context? I do not recognize primordials in the library.

DanielRuf commented 5 years ago

This is referenced in natives / graceful-fs. Updating these or downgrading to Node < 12 should resolve this.

jarrodek commented 5 years ago

Recently I've updated the module (mostly dependencies upgrades) and now I cannot reproduce this problem anymore.

Tested on:

MacOS 10.13.6 Node: v12.3.1

Win 10 Pro 1903 Node: v12.3.1 (CMD) Node: v12.3.1 (PS)

Ubuntu 16.04 (Xenial) LTS Node: v12.3.1

I am closing the issue as fixed but feel free to reopen if necessary.