GithubHelp home page GithubHelp logo

commerce-install's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

commerce-install's Issues

Creates docroot and web

Using package 6150, composer install creates docroot (where it puts the files, as set in composer.json), and also creates a web/ with only directories, no files, which comes from scripts/composer/ScriptHandler.php.

Is there a reason for this?

Open social install failed: ./composer.json" does not match the expected JSON schema

Download Open social (without any other component)
kickstart-2087.tar.gz

Extract and cd to kickstart-2087
192:downloads stmacpro$ cd kickstart-2087

run composer install
192:kickstart-2087 stmacpro$ composer install

Error

[Composer\Json\JsonValidationException]
"./composer.json" does not match the expected JSON schema:

  • repositories.goalgorilla/social_docker_2 : Object value found, but a boo
    lean is required
  • repositories.goalgorilla/social_docker_2 : Does not have a value in the
    enumeration [false]
  • repositories.goalgorilla/social_docker_2.package : The property package
    is required
  • repositories.goalgorilla/social_docker_2.type : Does not have a value in
    the enumeration ["composer"]
  • repositories.goalgorilla/social_docker_2.url : NULL value found, but a s
    tring is required
  • repositories.goalgorilla/social_docker_2.type : Does not have a value in
    the enumeration ["vcs","github","git","gitlab","git-bitbucket","hg","hg-bi
    tbucket","fossil","perforce","svn"]
  • repositories.goalgorilla/social_docker_2.type : Does not have a value in
    the enumeration ["path"]
  • repositories.goalgorilla/social_docker_2.type : Does not have a value in
    the enumeration ["artifact"]
  • repositories.goalgorilla/social_docker_2.type : Does not have a value in
    the enumeration ["pear"]
  • repositories.goalgorilla/social_docker_2 : Failed to match exactly one s
    chema

See the full composer.json file on gist

58---
    "repositories": {
        "drupal": {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        },
        "commerce_base": {
            "type": "vcs",
            "url": "https://github.com/drupalcommerce/commerce_base"
        },
        "asset-packagist": {
            "type": "composer",
            "url": "https://asset-packagist.org"
        },
        "goalgorilla/social_docker_0": {
            "type": "composer",
            "url": "https://packages.drupal.org/8"
        },
        "goalgorilla/social_docker_1": {
            "type": "composer",
            "url": "https://asset-packagist.org"
        },
        "goalgorilla/social_docker_2": {
            "type": "package",
            "url": null
        }
    },
85---

I believe this should be Drupal Commerce 1.x . . .

. . . or is Drupal Commerce 2.x also available for Drupal 7?

<a href="http://d7.commercekickstart.com " target="_blank" class="d7-commerce-kickstart-cta">
<div class="d7-commerce-kickstart-cta__top">Click to access the</div>
<div class="d7-commerce-kickstart-cta__middle">Commerce Kickstart 2.x</div>
<div class="d7-commerce-kickstart-cta__bottom">demo for <strong>Drupal 7</strong><!-- <i class="material-icons">&#xE01F;</i>--></div>
</a>

installation errors

who had an idea to put installation into a 'web' folder instead of normally root folder of a web site?
how to move it now to root dir
And of course it ended with errors, the site looks like without any theme at all

Installation problem

Please help :)

kickstart-9770.tar.gz
PHP 7.1.29
XAMPP
Microsoft Windows [Version 10.0.17134.765]

c:\xampp\htdocs\ks>composer install
Class DrupalProject\composer\S
criptHandler is not autoloadable, can not call pre
-update-cmd script
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Conclusion: don't install drupal/core 8.7.1
- Installation request for acquia/lightning 3.1.3 -> satisfiable by acquia/lightning[3.1.3].
- Conclusion: don't install drupal/core 8.7.0
- Can only install one of: drupal/core[8.6.0, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.0-alpha1, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.0-beta1, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.0-beta2, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.0-rc1, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.1, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.10, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.11, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.12, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.13, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.14, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.15, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.16, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.2, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.3, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.4, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.5, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.6, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.7, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.8, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.9, 8.5.x-dev].
- Can only install one of: drupal/core[8.6.x-dev, 8.5.x-dev].
- Can only install one of: drupal/core[8.7.0-alpha1, 8.5.x-dev].
- Can only install one of: drupal/core[8.7.0-alpha2, 8.5.x-dev].
- Can only install one of: drupal/core[8.7.0-beta1, 8.5.x-dev].
- Can only install one of: drupal/core[8.7.0-beta2, 8.5.x-dev].
- Can only install one of: drupal/core[8.7.0-rc1, 8.5.x-dev].
- Can only install one of: drupal/core[8.7.x-dev, 8.5.x-dev].
- Can only install one of: drupal/core[8.8.x-dev, 8.5.x-dev].
- Conclusion: install drupal/core 8.5.x-dev
- Installation request for drupal/core ^8.6.0 -> satisfiable by drupal/core[8.6.0, 8.6.0-alpha1, 8.6.0-beta1, 8.6.0-beta2, 8
.6.0-rc1, 8.6.1, 8.6.10, 8.6.11, 8.6.12, 8.6.13, 8.6.14, 8.6.15, 8.6.16, 8.6.2, 8.6.3, 8.6.4, 8.6.5, 8.6.6, 8.6.7, 8.6.8, 8.6.9,
8.6.x-dev, 8.7.0, 8.7.0-alpha1, 8.7.0-alpha2, 8.7.0-beta1, 8.7.0-beta2, 8.7.0-rc1, 8.7.1, 8.7.x-dev, 8.8.x-dev].

c:\xampp\htdocs\ks>
kickstart-9770.tar.gz

Required older version of webflo/drupal-finder hinders install of Drush 9

When trying to install Drush 9 which requires webflo/drupal-finder ^1.1 this conflicts with the downloaded composer.json from commercekickstart.com which requires webflo/drupal-finder ^0.3.0.

Is there a reason for requiring an older version of webflo/drupal-finder? Otherwise consider changing the required version to a newer version so that Drush 9 can be installed.

$ composer require drush/drush                                                    389ms ๎‚ณ 
    1/5:	http://packagist.org/p/provider-latest$0edb7c29aeeca2de84080c0e38edb02e5df329f80fc1e1f4a7c8fa5da852f84a.json
    2/5:	http://packagist.org/p/provider-2017-07$955a54374fafc4fd740a710ca33f20ff703ed0423a03f167d2d7b2a29c01750e.json
    3/5:	http://packagist.org/p/provider-2016$9fceca95c4bfe092b6a73f572c30a1a88e381187c9add30a7ad2263d0080d0bb.json
    4/5:	http://packagist.org/p/provider-2018-01$b4d5d05d1751ef040090b5244843dc3cf3b0d755b6523ba565f5c1f6dd847be2.json
    5/5:	http://packagist.org/p/provider-2017-10$ee334c1595d56eb89cf55374590623e1746b3c39fcfb4770dcfa14b13251f0e2.json
    Finished: success: 5, skipped: 0, failure: 0, total: 5
Using version ^9.2 for drush/drush                                   
./composer.json has been updated
> DrupalProject\composer\ScriptHandler::checkComposerVersion
Loading composer repositories with package information
Updating dependencies (including require-dev)                        
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - drush/drush 9.2.1 requires webflo/drupal-finder ^1.1 -> satisfiable by webflo/drupal-finder[1.1.0] but these conflict with your requirements or minimum-stability.
    - drush/drush 9.2.0 requires webflo/drupal-finder ^1.1 -> satisfiable by webflo/drupal-finder[1.1.0] but these conflict with your requirements or minimum-stability.
    - Installation request for drush/drush ^9.2 -> satisfiable by drush/drush[9.2.0, 9.2.1].


Installation failed, reverting ./composer.json to its original content.
$

Add a starter .gitignore file

I'd like the download package to include a "best practices" .gitignore that the drupalcommerce/project-base template uses:

https://github.com/drupalcommerce/project-base/blob/8.x/.gitignore

# Ignore directories generated by Composer
/bin/
/drush/contrib/
/vendor/
/web/core/
/web/modules/contrib/
/web/themes/contrib/
/web/profiles/contrib/

# Ignore sensitive information
/web/sites/*/settings.php
/web/sites/*/settings.local.php

# Ignore Drupal's file directory
/web/sites/*/files/

# Ignore SimpleTest multi-site environment.
/web/sites/simpletest/

# Ignore files generated by PhpStorm
/.idea/

Out of date composer.json files

We should auto-pull the base files we use, to make sure we're not setting people up with old stuff. Right now if you try you get Drupal 8.3 instead of 8.4 (and probably other old stuff)

Confusing post install instructions

reported by andyd in slack:

At end of composer install come the

Create a sites/default/services.yml file with chmod 0666
Create a sites/default/files directory with chmod 0777```

messages. I'm guessing that these are hard to change and come from core but the site is actually installed into *web*/sites... so following these instructions won't work.

As it turns out both service.yml & settings.php exist in this install so they don't need to be created and their permissions are already 666  so they don't need chmod either. If the messages could be removed or replaced with something about creating a database and setting up a webserver that would probably be ideal.

Fatal Error updating with Composer

Ran composer update today and received the following error.

[RuntimeException]
Could not scan for classes inside "docroot/modules/contrib/lightning_core/tests/contexts/AwaitTrait.inc" which do
es not appear to be a file nor a folder

A Google search didn't turn up any related issues but the site appears to still be up and running.

Any ideas how to troubleshoot this a little further?

Install Failes to resolve set of packages

I selected the following from your site to create a install package and it will not work. I have tried other options and it works fine but this set doesn't.

Options Selected:
Build Summary
Region
North America

Distribution
Lightning

Payments
Paypal

Shipping
Flat Rate
UPS
FedEx
Postcode

Taxes & Accounting
Custom Taxes

Catalog
Database Search

Data Migration
None

When I put the files (I have attached) into my web folder and run 'composer install' I get the following message. I have also tried to 'composer update' to see if it would resolve some dependencies however it didn't.

Error Messages:

Your requirements could not be resolved to an installable set of packages.

Problem 1
- webflo/drupal-core-require-dev 8.4.5 requires drupal/core 8.4.5 -> satisfiable by drupal/core[8.4.5] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.4 requires drupal/core 8.4.4 -> satisfiable by drupal/core[8.4.4] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.3 requires drupal/core 8.4.3 -> satisfiable by drupal/core[8.4.3] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.2 requires drupal/core 8.4.2 -> satisfiable by drupal/core[8.4.2] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.1 requires drupal/core 8.4.1 -> satisfiable by drupal/core[8.4.1] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.0-rc2 requires drupal/core 8.4.0-rc2 -> satisfiable by drupal/core[8.4.0-rc2] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.0-rc1 requires drupal/core 8.4.0-rc1 -> satisfiable by drupal/core[8.4.0-rc1] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.0-beta1 requires drupal/core 8.4.0-beta1 -> satisfiable by drupal/core[8.4.0-beta1] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.0-alpha1 requires drupal/core 8.4.0-alpha1 -> satisfiable by drupal/core[8.4.0-alpha1] but these conflict with your requirements or minimum-stability.
- webflo/drupal-core-require-dev 8.4.0 requires drupal/core 8.4.0 -> satisfiable by drupal/core[8.4.0] but these conflict with your requirements or minimum-stability.
- Conclusion: don't install webflo/drupal-core-require-dev 8.5.0
- Conclusion: don't install webflo/drupal-core-require-dev 8.5.0-rc1
- Conclusion: don't install webflo/drupal-core-require-dev 8.5.0-beta1
- Conclusion: don't install webflo/drupal-core-require-dev 8.5.0-alpha1
- webflo/drupal-core-require-dev 8.6.x-dev requires drupal/core 8.6.x-dev -> satisfiable by drupal/core[8.6.x-dev].
- Conclusion: don't install drupal/core 8.6.x-dev
- Installation request for acquia/lightning_dev dev-8.x-1.x -> satisfiable by acquia/lightning_dev[dev-8.x-1.x].
- Installation request for acquia/lightning ~3.1.0 -> satisfiable by acquia/lightning[3.1.0, 3.1.x-dev].
- webflo/drupal-core-require-dev 8.4.x-dev requires behat/mink 1.7.x-dev -> satisfiable by behat/mink[1.7.x-dev].
- webflo/drupal-core-require-dev 8.5.x-dev requires behat/mink 1.7.x-dev -> satisfiable by behat/mink[1.7.x-dev].
- Conclusion: don't install behat/mink 1.7.x-dev
- Installation request for webflo/drupal-core-require-dev ~8.4 -> satisfiable by webflo/drupal-core-require-dev[8.4.0, 8.4.0-alpha1, 8.4.0-beta1, 8.4.0-rc1, 8.4.0-rc2, 8.4.1, 8.4.2, 8.4.3, 8.4.4, 8.4.5, 8.4.x-dev, 8.5.0, 8.5.0-alpha1, 8.5.0-beta1, 8.5.0-rc1, 8.5.x-dev, 8.6.x-dev].

I have tried to use the same process with base Drupal 8.5 instead of Lightning and it works fine.

kickstart-1979.tar.gz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.