The package.json should have something like this if they are going to use import/export statements so anyone on older versions don’t have to worry about it (it’s not native to Node yet without .mjs extension).
We can blame whoever didn’t set that up, or the instructions should have been to just use require().
https://www.npmjs.com/package/esm
The package.json should have something like this if they are going to use import/export statements so anyone on older versions don’t have to worry about it (it’s not native to Node yet without .mjs extension).
We can blame whoever didn’t set that up, or the instructions should have been to just use require().