Difference between revisions of "NoneType"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
  
 
  ERROR: Top level object in './[[docker-compose.yml]]' needs to be an object not '<class 'NoneType'>'.
 
  ERROR: Top level object in './[[docker-compose.yml]]' needs to be an object not '<class 'NoneType'>'.
 +
 +
Solution: Check if you [[docker-compose.yml]] is empty

Revision as of 19:01, 2 May 2022


aws eks --region $(terraform output -raw region) update-kubeconfig --name $(terraform output -raw cluster_name)
'NoneType' object is not iterable
Solution: rm ~/.kube/config and execute it again


ERROR: Top level object in './docker-compose.yml' needs to be an object not '<class 'NoneType'>'.

Solution: Check if you docker-compose.yml is empty

Advertising: