Difference between revisions of "NoneType"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
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

Latest revision as of 19:02, 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: