reproduction of problem using loaders with cucumber on an ESM project
$ npm install @form8ion/cucumber-esm
import {scaffold} from '@form8ion/cucumber-esm';
(async () => {
await scaffold({projectRoot: process.cwd()});
})();
$ nvm install
$ npm install
$ npm test