Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer install issue with magento/sample-bundle-all #10

Open
jagwire16 opened this issue Jan 6, 2016 · 5 comments
Open

composer install issue with magento/sample-bundle-all #10

jagwire16 opened this issue Jan 6, 2016 · 5 comments

Comments

@jagwire16
Copy link

I tried to install this machine and got the following errors:

==> default: ############################################
==> default: ##### INSTALLING COMPOSER DEPENDENDIES #####
==> default: ############################################
==> default:                                                                  
==> default:   [RuntimeException]                                             
==> default:   File "composer.json" cannot be found in the current directory  
==> default:                                                                  
==> default: config [-g|--global] [-e|--editor] [-a|--auth] [--unset] [-l|--list] [-f|--file FILE] [--absolute] [--] [<setting-key>] [<setting-value>]...
==> default: ./composer.json has been created
==> default: Loading composer repositories with package information
==> default: Updating dependencies (including require-dev)
==> default: Your requirements could not be resolved to an installable set of packages.
==> default: 
==> default:   Problem 1
==> default:     - The requested package magento/sample-bundle-all could not be found in any version, there may be a typo in the package name.
==> default: 
==> default: Potential causes:
==> default:  - A typo in the package name
==> default:  - The package is not available in a stable-enough version according to your minimum-stability setting
==> default:    see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
==> default: 
==> default: Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
==> default: 
==> default: Installation failed, deleting ./composer.json.

I did check the packages.magento.com site and it appears that you are referencing the correct package in the bootstrap.sh file. So I'm not sure what the issue could be.

@ryanstreet
Copy link
Owner

thank you for the update. I'll get this fixed ASAP.

@jagwire16
Copy link
Author

Thanks. I tried again and still ran into a problem.

==> default: ############################################
==> default: ##### INSTALLING COMPOSER DEPENDENDIES #####
==> default: ############################################
==> default: ./composer.json has been updated
==> default: Loading composer repositories with package information
==> default: Updating dependencies (including require-dev)
==> default: Your requirements could not be resolved to an installable set of packages.
==> default: 
==> default:   Problem 1
==> default:     - Installation request for magento/magento2ce 2.0.0 -> satisfiable by magento/magento2ce[2.0.0].
==> default:     - magento/sample-module-theme 1.0.0 requires magento/theme-frontend-luma ~0.74 -> satisfiable by magento/theme-frontend-luma[0.74.0-beta1, 0.74.0-beta10, 0.74.0-beta11, 0.74.0-beta12, 0.74.0-beta13, 0.74.0-beta14, 0.74.0-beta15, 0.74.0-beta16, 0.74.0-beta2, 0.74.0-beta3, 0.74.0-beta4, 0.74.0-beta5, 0.74.0-beta6, 0.74.0-beta7, 0.74.0-beta8, 0.74.0-beta9].
==> default:     - magento/sample-bundle-all 1.0.0 requires magento/sample-module-theme ~1.0 -> satisfiable by magento/sample-module-theme[1.0.0].
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta1|remove magento/magento2ce 2.0.0
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta10|remove magento/magento2ce 2.0.0
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta11|remove magento/magento2ce 2.0.0
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta12|remove magento/magento2ce 2.0.0
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta13|remove magento/magento2ce 2.0.0
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta14|remove magento/magento2ce 2.0.0
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta15|remove magento/magento2ce 2.0.0
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta16|remove magento/magento2ce 2.0.0
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta2|remove magento/magento2ce 2.0.0
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta3|remove magento/magento2ce 2.0.0
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta4|remove magento/magento2ce 2.0.0
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta5|remove magento/magento2ce 2.0.0
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta6|remove magento/magento2ce 2.0.0
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta7|remove magento/magento2ce 2.0.0
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta8|remove magento/magento2ce 2.0.0
==> default:     - don't install magento/theme-frontend-luma 0.74.0-beta9|remove magento/magento2ce 2.0.0
==> default:     - Installation request for magento/sample-bundle-all 1.0.0 -> satisfiable by magento/sample-bundle-all[1.0.0].
==> default: 
==> default: Installation failed, reverting ./composer.json to its original content.
==> default: #############################
==> default: ##### RESTARTING APACHE #####
==> default: #############################
==> default:  * Restarting web server apache2
==> default:    ...done.
==> default: Magento2 Vagrant Box ready!
==> default: Go to http://192.168.33.10/magento2/setup/ to finish installation.
==> default: If you configured your hosts file, go to http://www.magento2.dev/setup/

image

@ryanstreet
Copy link
Owner

Thanks for the update. I'm looking into possibly removing sample data, as it is available through the command line tool now.

@sjzurek
Copy link

sjzurek commented Feb 16, 2016

FYI the command line tool is failing now too.
I had to use the git clone method and then update.

@matt-bailey
Copy link

I had this issue as well. In bootstrap.sh I tried changing http to https on line 156, but then I got the same errors in the screen grab above.

However, I then tried bin/magento sampledata:deploy and that worked, so maybe that's a better way to do it in bootstrap.sh?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants