I had a CI/CD pipeline working for a long while now without any issues in Azure DevOps. All of a sudden, my build starts breaking with the following error:
The command “gulp build” exited with code 134.
gulp build: src\node_contextify.cc:633: Assertion `args->IsString()’ failed.
Probably spent a good 2 hours getting to the bottom of this! Turns out, you now need to add a dev dependency to email@example.com when using the gulp command. It seems like this is related to the HostedAgent platform that got an update in the background that can affect your builds.
package.json and add the following devDependency:
After adding the above, my CI Build started working again. Phew.