You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmdtest is installed instead of yarn on AWS Ubuntu 18.04
2019-06-10T10:16:36-04:00] INFO: Processing yarn_install[/srv/www/xxxxx/releases/20190610141627] action run (/srv/www/lists/releases/20190610141627/deploy/before_restart.rb line 42)
[2019-06-10T10:16:36-04:00] INFO: Processing execute[execute yarn install at `/srv/www/xxxxx/releases/20190610141627`] action run (/var/chef/runs/ecec4f1c-a306-4104-a303-d51caab053cc/local-mode-cache/cache/cookbooks/yarn/resources/install.rb line 18)
================================================================================
Error executing action `run` on resource 'execute[execute yarn install at `/srv/www/xxxxx/releases/20190610141627`]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of yarn install ----
STDOUT: Parsing scenario file install
STDERR: ERROR: [Errno 2] No such file or directory: 'install'
---- End output of yarn install ----
Ran yarn install returned 1
Following up the recipe with an attempt to install yarn via sudo apt-get install yarn yields:
sudo apt-get install yarn
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'cmdtest' instead of 'yarn'
The following additional packages will be installed:
libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python python-chardet python-cliapp python-markdown python-minimal python-pkg-resources python-pygments
python-ttystatus python-yaml python2.7 python2.7-minimal
Suggested packages:
python-doc python-tk python-xdg python-markdown-doc python-setuptools ttf-bitstream-vera python2.7-doc binfmt-support
The following NEW packages will be installed:
cmdtest libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python python-chardet python-cliapp python-markdown python-minimal python-pkg-resources python-pygments
python-ttystatus python-yaml python2.7 python2.7-minimal
0 upgraded, 15 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/4996 kB of archives.
After this operation, 22.2 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Manually installing yarn without the recipe via the following commands seemed to work to resolve:
This is not directly related to this cookbook rather to Ubuntu and the yarn package specifically but figure I would mention it here.
Referencing Issues found yarnpkg/yarn#3189 and https://github.com/Joystream/helpdesk/issues/16
cmdtest
is installed instead of yarn on AWS Ubuntu 18.04Following up the recipe with an attempt to install yarn via
sudo apt-get install yarn
yields:Manually installing yarn without the recipe via the following commands seemed to work to resolve:
Adding the following to the key instead of the default
.gpg
url fornode['yarn']['package']['repository']['key']
seemed to be the fix for meThe text was updated successfully, but these errors were encountered: