You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ECMAScript modules requires .mjs extension since 12.0.0 #27407
the modules implementation currently disables extension resolution. you'll need to use --es-module-specifier-resolution=node to get the good behaviour or add the full relative path to the files you're trying to run.
node --experimental-modules --harmony testOn v11.13.0, it runs
test/index.mjsOn v12.0.0, it throws "
Cannot find module '/XXX/test' imported from /XXX/"Running
node --experimental-modules --harmony test/indexfails too.Running
node --experimental-modules --harmony test/index.mjsfails on inner imports.