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
Direction
We use github issues to track bugs, not for support.
If you have a support question, or a feature request, raise these as threads on our forum.
Describe the bug
Installing a basic start project using composer using the following
composer create-project codeigniter4/appstarter Automator_working --no-dev
Get the following
==========================================================
Creating a "codeigniter4/appstarter" project at "./Automator_working"
Installing codeigniter4/appstarter (v4.1.1)
Installing codeigniter4/appstarter (v4.1.1): Extracting archive
Created project in /home/julianb/WebSites/TwwYachts/Automator_working
Loading composer repositories with package information
Updating dependencies
Lock file operations: 41 installs, 0 updates, 0 removals
Installing codeigniter4/framework (v4.1.1): Extracting archive
10 package suggestions were added by new dependencies, use composer suggest to see details.
Generating autoload files
2 packages you are using are looking for funding.
Use the composer fund command to find out more!
================================================================
So installs codigniter correctly.
cd Automator_working/
Add twig
composer require twig/twig
I get this
================================================
Using version ^3.3 for twig/twig
./composer.json has been updated
Running composer update twig/twig
Loading composer repositories with package information
Updating dependencies
Lock file operations: 2 installs, 0 updates, 0 removals
Installing twig/twig (v3.3.0): Extracting archive
Generating autoload files
30 packages you are using are looking for funding.
Use the composer fund command to find out more!
=================================================================
As you can see it installs twig fine and then it installs all the development parts of codeigniter.
I have not been able to stop it doing this, seems a bit odd that it installs the development version by default anyway.
CodeIgniter 4 version
4.1.1
Affected module(s)
The composer configuration
Expected behavior, and steps to reproduce if appropriate
I expected it to install the non dev version of composer and then allow me to install other apps as needed.
Context
OS: LinuxMint
Web server NA
PHP version 7.3.27
The text was updated successfully, but these errors were encountered:
julesbl
added
the
bug
Verified issues on the current code behavior or pull requests that will fix them
label
Mar 23, 2021
This has nothing to do with codeigniter. This is a composer behavior. If you do not want to install dev dependencies, use the --no-dev flag when usingcomposer require
Direction
We use github issues to track bugs, not for support.
If you have a support question, or a feature request, raise these as threads on our
forum.
Describe the bug
Installing a basic start project using composer using the following
composer create-project codeigniter4/appstarter Automator_working --no-dev
Get the following
==========================================================
Creating a "codeigniter4/appstarter" project at "./Automator_working"
Installing codeigniter4/appstarter (v4.1.1)
Created project in /home/julianb/WebSites/TwwYachts/Automator_working
Loading composer repositories with package information
Updating dependencies
Lock file operations: 41 installs, 0 updates, 0 removals
Writing lock file
Installing dependencies from lock file
Package operations: 5 installs, 0 updates, 0 removals
10 package suggestions were added by new dependencies, use
composer suggest
to see details.Generating autoload files
2 packages you are using are looking for funding.
Use the
composer fund
command to find out more!================================================================
So installs codigniter correctly.
cd Automator_working/
Add twig
composer require twig/twig
I get this
================================================
Using version ^3.3 for twig/twig
./composer.json has been updated
Running composer update twig/twig
Loading composer repositories with package information
Updating dependencies
Lock file operations: 2 installs, 0 updates, 0 removals
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 38 installs, 0 updates, 0 removals
Generating autoload files
30 packages you are using are looking for funding.
Use the
composer fund
command to find out more!=================================================================
As you can see it installs twig fine and then it installs all the development parts of codeigniter.
I have not been able to stop it doing this, seems a bit odd that it installs the development version by default anyway.
CodeIgniter 4 version
4.1.1
Affected module(s)
The composer configuration
Expected behavior, and steps to reproduce if appropriate
I expected it to install the non dev version of composer and then allow me to install other apps as needed.
Context
The text was updated successfully, but these errors were encountered: