You are running version v8.15.0 of Node.js, which is not supported by Angular CLI 8.0+. The official Node.js version that is supported is 10.9 or greater.
Please visit https://nodejs.org/en/ to find instructions on how to update Node.js. npm info lifecycle firstname.lastname@example.org~test: Failed to exec test script npm ERR! Test failed. See above for more details. npm timing npm Completed in 159ms ERROR: Job failed: exit code 1