Error when executing cypress run
on windows: TypeError: Cannot read properties of undefined (reading 'trim')
#30378
Labels
cypress run
on windows: TypeError: Cannot read properties of undefined (reading 'trim')
#30378
Current behavior
On windows machines in some circumstances (likely based on what is running on the machine), the following error may occur when doing a
cypress run
:Desired behavior
Cypress should not error and the tests should execute
Test code to reproduce
There's not code currently to reproduce this as it seems to be very specific to a given windows machine.
Cypress Version
latest
Node version
latest
Operating System
windows
Debug Logs
No response
Other
The error is coming from within the
find_process
package:It's possible that in this particular case there's a process that isn't playing nicely with the way lines are being split in that code. There are a couple of options we can look at:
find_process
to handle undefined lines in this scenarioThe text was updated successfully, but these errors were encountered: