Difference between revisions of "NoneType"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
  
  
  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: