╰─$ npm start 130 ↵
> roteiro@1.0.0 start /home/pedro/Documents/studies_projects/GraphQL
> nodemon -e js,json,graphql ./api/index.js
[nodemon] 2.0.4
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,json,graphql
[nodemon] starting `node ./api/index.js`
/home/pedro/Documents/studies_projects/GraphQL/node_modules/@graphql-tools/utils/index.js:876
exports.AggregateError = globalThis.AggregateError;
^
ReferenceError: globalThis is not defined
at Object.<anonymous> (/home/pedro/Documents/studies_projects/GraphQL/node_modules/@graphql-tools/utils/index.js:876:26)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/home/pedro/Documents/studies_projects/GraphQL/node_modules/@graphql-tools/mock/index.js:9:15)
at Module._compile (internal/modules/cjs/loader.js:778:30)
[nodemon] app crashed - waiting for file changes before starting...
EDIT1 : RESOLVIDO ATUALIZANDO NODE DO UBUNTU PARA VERSÃO + RECENTE