ng not found - start localhost - bitbucket piplines

Viewed 20

I am preparing a Bitbucket pipeline to run cypress tests In step 2 (starting the localHost) it throws an error of (sh: 1: ng: not found)

The pipeline: image: node:16.10.0
       pipelines:   default:
     - step:
         name: 'update node modules'
         script: 
           - npm i --force
     - step:
         name: 'ng'
         script: 
           - npm run ng
     - step:
         name: 'Start the local host on 4000'
         script: 
           - npm run start:local
     - step:
         name: 'Generate the token'
         script:
0 Answers
Related