Spot config related errors

This is part of the Semicolon&Sons Code Diary - consisting of lessons learned on the job. You're in the workflows category.

Last Updated: 2024-04-25

When trying to get a development framework I'd never used before - serverless - running in Project M, I ran into the following error:

A valid service attribute to satisfy the declaration 'self:custom.domains.local' could not be found.

J told me that this likely means something in the config file under the key custom.domains.local was missing. He was right since turned out to be the case.

Lesson

When you get an error in a new codebase that is presumed to work, suspect the config/env is the issue. Try searching the codebase for that attribute or some subcomponent of it.