Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the consultup domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/portal/wp-includes/functions.php on line 6121
Parsing scenario file install ERROR: [Errno 2] No such file or directory: ‘install’ – University of Highlands and Islands

Parsing scenario file install ERROR: [Errno 2] No such file or directory: ‘install’

You are here:
< All Topics

When running ‘yarn install’ on a project you might come across the error:

Parsing scenario file install
ERROR: [Errno 2] No such file or directory: ‘install’

This is because if you are using an old version of Ubuntu the yarn version is old. You will need to carry out the following commands:

sudo apt remove cmdtest
sudo apt remove yarn
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update  
sudo apt-get install yarn
yarn --version

You should then have a version >= 1.22.4. This should now work.

Leave a Reply

Table of Contents