standard-things/esm

Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '/home/runner/esm-test-again/node_modules/ajv/dist/compile/codegen

Kief5555 opened this issue · 2 comments

Screen Shot 2021-11-06 at 6 58 54 PM

Hi, Got that error

Updated to node ^16
Removed node_modules folder, pkg.json pkg-lock.json
Then did a reinstall of esm using npm init esm

Fixed this on my own.