TypeError: Cannot read properties of undefined (reading ‘globalId’)
at getComponentName (/var/www/html/strapi-backend/node_modules/@strapi/plugin-graphql/dist/server/index.js:892:25)
at getComponentInputName (/var/www/html/strapi-backend/node_modules/@strapi/plugin-graphql/dist/server/index.js:908:27)
at /var/www/html/strapi-backend/node_modules/@strapi/plugin-graphql/dist/server/index.js:2212:42
at Array.forEach (<anonymous>)
at Object.definition (/var/www/html/strapi-backend/node_modules/@strapi/plugin-graphql/dist/server/index.js:2182:27)
at SchemaBuilder.walkInputType (/var/www/html/strapi-backend/node_modules/nexus/dist/builder.js:947:13)
at SchemaBuilder.walkTypes (/var/www/html/strapi-backend/node_modules/nexus/dist/builder.js:302:26)
at SchemaBuilder.getFinalTypeMap (/var/www/html/strapi-backend/node_modules/nexus/dist/builder.js:460:14)
at makeSchemaInternal (/var/www/html/strapi-backend/node_modules/nexus/dist/builder.js:1132:94)
at Object.makeSchema (/var/www/html/strapi-backend/node_modules/nexus/dist/makeSchema.js:16:84)
i have code on ec2 with 2cpu 4gb ram and 12gb ssd, t2.medium
install nodejs 20.13.0
then install nodemudules
then run npm run build and
then start npm run start server but getting above issue
please help why its happening
This topic has been created from a Discord post (1242019180673368134) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord