When I tried to execute NPM with command npx cypress run it’s displaying following error 2022-08-12T07:37:38.5420694Z ##[warning]Couldn’t find a debug log in the cache or working directory 2022-08-12T07:37:38.5433010Z ##[error]Error: Npm failed with return code: 1
so can anyone please help me with how I can solve this problem thank you
Based on your description and screenshot, it is shown that the main error message in the screenshot is “Unknown command: “npx” “. It means that the issue will occur when using “npm install” this task to run your pipeline, it is suggested that try using “Command Line” task and adding “npx” in “Script” to test again.
Hope it is helpful to you.