When using esm package (https://github.com/standard-things/esm) even most simple package.json configurations (only dependancies are esm and graphql-yoga) results in the Error: Cannot use GraphQLSchema "[object Object]" from another module or realm. error when using imports.
node -r esm testWithImport.js will fail while node testWithRequire.js and node -r esm testWithRequire.js will work.