YAMLException unacceptable kind of an object to dump [object Undefined]
              
              #3330
            
            
          -
| 
         Tests are running using gulp (5.0.0), ava (6.1.3) and execa (9.1.0). I recently updated those packages, but the error also occurred before, so the error is not directly related to those specific versions. The code to run the test looks like this: await execa("npx", [
	"ava",
	"tests/*,
	"--concurrency",
	parseInt(argv["ava-concurrency"]),
	argv["ava-failfast"] === true ? "--fail-fast" : null,
	"--tap",
	"--timeout",
	"30m"
], {
	env: {
		AVA_BROWSER: argv["ava-browser"],
		AVA_HEADLESS: argv["ava-headless"],
		AVA_PRESERVE_DB: argv["ava-preserve-db"],
		AVA_SKIP_SCREENSHOTS: argv["ava-skip-screenshots"],
	},
	stdout: [
		process.stdout,
		{file: "tests/output/tapOutput.txt"}
	]
});Sporadically the following error gets thrown: Do you have an idea how to find the root cause of this issue?  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            novemberborn
          
      
      
        Jun 6, 2024 
      
    
    Replies: 1 comment
-
        
 Edit the installed reporter code and log the value being dumped. There's line numbers in the stack trace you posted.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        adymorz
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Edit the installed reporter code and log the value being dumped. There's line numbers in the stack trace you posted.