Build runs with wrong version of node

My builds are suddenly failing all their tests because it’s using wrong version of node.

my circle.yml says
machine:
node:
version: 7

and the steps say that it’s doing it
Downloading https://nodejs.org/dist/v7.10.0/node-v7.10.0-linux-x64.tar.xz

######################################################################## 100.0%
Now using node v7.10.0 (npm v4.2.0)
default -> 7 (-> v7.10.0)

But everything fails. I ran one with ssh to verify sure enough they all fail.

ubuntu@box3066:~$ node --version
v4.2.6
ubuntu@box3066:~$ npm --version
2.14.12
ubuntu@box3066:~$ which node
/opt/circleci/nodejs/v4.2.6/bin/node

This started yesterday afternoon, was working fine before that

1 Like

I’m also having this issue. For some reason my tests are ok, but my deployment script is boned.
If I ssh in I have exactly the same node version issue.

Mine has suddenly started working again… Not sure why though

Hmm very strange. @darknoon, did yours start working again as well?

@mlebarron, if this happens again in the near future, if your project is public can you paste an affected build URL? If not, can you DM it to me?