Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 1.06 KB

TROUBLESHOOTING.md

File metadata and controls

15 lines (12 loc) · 1.06 KB

1. ERR_REQUIRE_ESM

This error is caused in case of using bricked (old/outdated) version of node.js.
Sometimes there are backwards compatibility issues that are not project related rather due environtment changes.

Solution

In case you are having this error troubleshoot it as following:

  1. [DEBUG] Check your node version (open command prompt and type node -v)
    In case version is v14 upgrade to stable v15.2.1 Download here

  2. [SOLUTION 1] After upgrading node restart your enviroment machine/server, download & install the script again with right version of node

  3. [SOLUTION 2] Repair existing script on new node
    Delete node_modules folder including package.lock file
    This might cause other issues since package.lock contains instructions for script to install.
    Package.lock might change in case of running installation on non supported version of node so to avoid furthure errors replace existing with package.lock file from repository
    run install.bat to install correctly.