Upgrading node and yarn

Problem

You are getting the following error when trying to use yarn:

SHELL

Solution

Upgrade yarn

SHELL

Which should give the updated yarn version:

SHELL

Upgrade node version with the correct version from above (ie 10.0.0)

HTML

And then the needed versions would have been installed:

SHELL