# Unable to run angular cli tests

**URL:** <https://discuss.circleci.com/t/unable-to-run-angular-cli-tests/16228>\
**Category:** Build Environment\
**Created:** [September 5, 2017, 6:30am UTC](https://discuss.circleci.com/t/unable-to-run-angular-cli-tests/16228 "2017-09-05T06:30:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ManuChadha](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@ManuChadha](https://discuss.circleci.com/u/ManuChadha)\
**Post date:** [September 5, 2017, 6:30am UTC](https://discuss.circleci.com/t/unable-to-run-angular-cli-tests/16228/1 "2017-09-05T06:30:41Z")

</div>

I am using followig config file. I want node 6+ and npm 3+ to run angularcli tests. Even though I have added dependencies to install these versions, the machines contain node 4 and npm 2 which fails my tests! If I ssh to the machine and install these versions manually, things work fine.

dependencies:  
override:  
- nvm install 6 && npm install  
test:  
override:  
- nvm use 6 && ng test

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:39am UTC](https://discuss.circleci.com/t/unable-to-run-angular-cli-tests/16228/2 "2018-06-18T11:39:53Z")

</div>


