Javascript.NodeJS
Javascript.NodeJS copied to clipboard
Problem with ESM and CommonJS
I tried to run a code in my Personal PC, and works with ESM, but when I move it to a server, not work, throw ESM error, I must change my code to commonJs.
Why the code runs on ESM in one PC, and another cannot run ESM?