Protractor : The term 'protractor' is not recognized as the name of a cmdlet

Hi,
Got this error in gitLab when run CICD. But it works fine in local directory. I’m using Windows Machine.Please assist on this.

protractor : The term ‘protractor’ is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\WINDOWS\TEMP\build_script312228172\script.ps1:223 char:1

  • protractor conf.js
  • CategoryInfo : ObjectNotFound: (protractor:String) , CommandNotFoundException
  • FullyQualifiedErrorId : CommandNotFoundException