Hello,
I’m trying to build an application for my store, and have created a new node application,
I have installed 2 libraries
npm install got --workspace=“web/frontend”
and
npm install jsdom --workspace=“web/frontend”
however, when I try to work with the libraries and import them on my app :
import got from "got";
import { JSDOM } from "jsdom";
I get errors saying
Uncaught TypeError: class heritage EventEmitter is not an object or null
or
Uncaught TypeError: promisify4 is not a function
Why does it do like this, and how we fix that if possible.
thank you.