How do I fix this Tuist installation error: curl: (22) The requested URL returned error: 404? - terminal

I am trying to install Tuist but I get the error below in Terminal. Could anyone explain how to fix that.
Downloading tuistenv...
curl: (22) The requested URL returned error: 404
Trying to install Tuist

Related

I was trying to install the composer and got this error

When I was trying to install the composer, I got this error: error: add to system path c:\xampp\php. Anyone knows how to solve this?

Installing composer on ubuntu 16.4 : file could not be downloaded

I am getting this error while installing composer (sudo composer install).
Can anyone help me out?
Cannot create cache directory /home/tanmay/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /home/tanmay/.composer/cache/files/, or directory is not writable. Proceeding without cache
[Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" file could not be downloaded:
SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
Failed to enable crypto
failed to open stream: operation failed

Laravel Valet stopped working after update

I get the following errors if I try to access any .dev sites.
Warning: file_get_contents(/var/root/.valet/config.json): failed to open stream: Permission denied in /Users/User/.composer/vendor/laravel/valet/server.php on line 23
Warning: Invalid argument supplied for foreach() in /Users/User/.composer/vendor/laravel/valet/server.php on line 47
404 - Not Found
It worked fine, ran the update as per the instructions and using the following commands:
composer global update
valet install
updated from 1.1.X to 1.1.18

Error Installing Composer on Windows 7 64-bit with Wampserver 2.5

I'm trying to install the Composer on W7 64x. Using the installer for Windows that the site Composer provides (Composer-setup.exe).
I have installed the Wampserver 2.5 with php5.5.12 and Apache2.4.9. The openssl is enabled in php.ini.
I'm having the following errors in the installation:
Download failed: file_get_contents(): SSL operation failed with code 1. OpenSSL Error
messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
file_get_contents(): Failed to enable crypto
file_get_contents(https://getcomposer.org/composer.phar): failed to open stream: operation
failed
Download failed: file_get_contents(): SSL operation failed with code 1. OpenSSL Error
messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
file_get_contents(): Failed to enable crypto
file_get_contents(https://getcomposer.org/composer.phar): failed to open stream: operation
failed
Download failed: file_get_contents(): SSL operation failed with code 1. OpenSSL Error
messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
file_get_contents(): Failed to enable crypto
file_get_contents(https://getcomposer.org/composer.phar): failed to open stream: operation
failed
The download failed repeatedly, aborting.
I installed xampp and WPN XM, but using the php.exe of both shows the following error:
Connection Error [ERR_CONNECTION]: Unable to connect to getcomposer.org
Request to https://getcomposer.org/installer failed with errors:
SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
failed. Failed to enable crypto. Failed to open stream: operation failed
Ensure that the SSL certs are installed and found by PHP.
In php.ini:
curl.cainfo=/path/to/ssl-certs/ca-bundle.crt
openssl.cafile=/path/to/ssl-certs/ca-bundle.crt
If certs are missing: download a cert bundle from http://curl.haxx.se/ca/cacert.pem and save as ca-bundle.crt.
(Or simply use a server stack for Windows, which ships Composer right out-of-the-box: WPN-XM)

Error installing composer on Yosemite

Running curl -sS https://getcomposer.org/installer | php gives me the following error:
#!/usr/bin/env php
All settings correct for using Composer
Downloading...
Could not create file /private/etc/apache2/users/composer.phar: fopen(/private/etc/apache2/users/composer.phar): failed to open stream: Permission denied
Download failed: fopen(/private/etc/apache2/users/composer.phar): failed to open stream: Permission denied
fwrite() expects parameter 1 to be resource, boolean given
Downloading...
Could not create file /private/etc/apache2/users/composer.phar: fopen(/private/etc/apache2/users/composer.phar): failed to open stream: Permission denied
Download failed: fopen(/private/etc/apache2/users/composer.phar): failed to open stream: Permission denied
fwrite() expects parameter 1 to be resource, boolean given
Downloading...
Could not create file /private/etc/apache2/users/composer.phar: fopen(/private/etc/apache2/users/composer.phar): failed to open stream: Permission denied
Download failed: fopen(/private/etc/apache2/users/composer.phar): failed to open stream: Permission denied
fwrite() expects parameter 1 to be resource, boolean given
The download failed repeatedly, aborting.
Not sure what permissions need to be changed to get this to work. I'm new to Mac OS. I've tried running the same command using sudo but to no avail. Any ideas on what needs to be changed in the apache2 directory to get this to work?
A simple chmod 777 on the users folder fixed the issue. Damn I feel like an idiot sometimes.

Resources