PHP/React project - node & npm versions causing build to fail

Hello,

I have a problem with node version.
My project needs newer version of npm but the one in the image is older.

This is my circle.yml file (version 1)
Can someone please help me.

machine:
  timezone:
      America/Los_Angeles
  php:
    version: 7.1.9

## Customize dependencies
dependencies:
  pre:
    - npm install # install from a different package manager
    - cd react/record-score && npm install && cd ../../
    - npm run build

  override:
    - bundle install: # note ':' here
        timeout: 180

## Customize deployment commands
deployment:
  staging:
    branch: master
    heroku:
      appname: appcom-au

This is the error I am getting.

WARN engine hawk@6.0.2: wanted: {"node":">=4.5.0"} (current: {"node":"4.2.6","npm":"2.14.12"})
npm ERR! Linux 3.13.0-129-generic
npm ERR! argv "/opt/circleci/nodejs/v4.2.6/bin/node" "/opt/circleci/nodejs/v4.2.6/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm  v2.14.12
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package chart.js@2.7.1 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer react-chartjs@0.8.0 wants chart.js@^1.1.1
npm ERR! peerinvalid Peer react-chartjs-2@2.6.4 wants chart.js@^2.3

Specify a different version.
https://circleci.com/docs/1.0/build-image-trusty/#nodejs
https://circleci.com/docs/1.0/language-nodejs/