:: Re: [DNG] OT: Install laravel on de…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Ismael L. Donis Garcia
日付:  
To: Devuan
題目: Re: [DNG] OT: Install laravel on devuan
Thanks for answering but it keeps giving error.

root@clt-iyc-03:/var/www/html/testapp# sudo -u www-data composer
create-project laravel/laravel .
Creating a "laravel/laravel" project at "./"
The following exception probably indicates you have misconfigured DNS
resolver(s)

In CurlDownloader.php line 365:

curl error 6 while downloading https://repo.packagist.org/packages.json:
Could not resolve host: repo.packagi
st.org


create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist]
[--prefer-install PREFER-INSTALL] [--repository REPOSITORY]
[--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev]
[--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http]
[--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format
AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ]
[--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]

root@clt-iyc-03:/var/www/html/testapp#

Best Regards
--
Ismael
Devuan User: http://distrowatch.com/table.php?distribution=devuan
Web Site: https://gitlab.uic.cu/ismael.donis/
----- Original Message -----
From: "Fernando M. Maresca" <fmaresca@???>
To: "Ismael L. Donis Garcia" <slibre@???>
Cc: <dng@???>
Sent: Monday, June 24, 2024 12:00 PM
Subject: Re: [DNG] OT: Install laravel on devuan


>
> Hi Ismael
>
> On Mon, Jun 24, 2024 at 11:37:19AM -0400, Ismael L. Donis Garcia wrote:
>> root@clt-iyc-03:/var/www/html/testapp# sudo -u www-data composer
>> create-project laravel/laravel.
>> Creating a "laravel/laravel." project at "./laravel."
>
> it looks like a dns problem but I would suggest you to review this
> command, I think the final dot should be the path where the project dir
> would be created, "." being the current dir, so the command should be:
>    composer create-project laravel/laravel .

>
> (please note the space between "laravel" and ".")
>
>
> Regards,
>
> --
> Fernando M. Maresca
>
>