Last Updated: 2022-12-01
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.
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.