I get this error when trying to build for iOS, Android, or both:
% EXPO_DEBUG=true eas build
✔ Build for platforms › All
✔ Linked to project @masao/simple-math-tutor
TypeError: Cannot read property 'enabled' of undefined
I’ve looked through all my code, and I have no TS errors.
Also, I’ve searched for enabled in everything except node_modules and could not find that string.
EAS Version:
% eas --version
eas-cli/0.13.0 darwin-x64 node-v14.0.0
✔ Build for platforms › All
✔ Linked to project @masao/simple-math-tutor
TypeError: Cannot read property 'enabled' of undefined
at Object.isEasEnabledForProjectAsync (/Users/masao/.nvm/versions/node/v14.0.0/lib/node_modules/eas-cli/build/project/isEasEnabledForProject.js:16:25)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Build.run (/Users/masao/.nvm/versions/node/v14.0.0/lib/node_modules/eas-cli/build/commands/build/index.js:39:35)
at async Build._run (/Users/masao/.nvm/versions/node/v14.0.0/lib/node_modules/eas-cli/node_modules/@oclif/command/lib/command.js:43:20)
at async Config.runCommand (/Users/masao/.nvm/versions/node/v14.0.0/lib/node_modules/eas-cli/node_modules/@oclif/config/lib/config.js:173:24)
at async Main.run (/Users/masao/.nvm/versions/node/v14.0.0/lib/node_modules/eas-cli/node_modules/@oclif/command/lib/main.js:27:9)
at async Main._run (/Users/masao/.nvm/versions/node/v14.0.0/lib/node_modules/eas-cli/node_modules/@oclif/command/lib/command.js:43:20)
hi there. sorry for the hassle, i’m not quite sure what is going on here and have asked the folks that are more familiar with the code around this to investigate. it seems that our endpoint is not returning the expected response. can you try signing out and back in to your expo account in eas-cli?