Code Monkey home page Code Monkey logo

lightning-project's Introduction

November 2, 2021: So long and thanks for all the fish!

Acquia ended support for the Lightning distribution on November 2, 2021, simultaneously with Drupal 8. Lightning 3, 4, and 5 no longer receive any security updates or bug fixes. It is possible to safely uninstall Lightning from your site; please see the official announcement, FAQ for site owners, and developer instructions for more information.

lightning-project's People

Contributors

b-sharpe avatar balsama avatar damontgomery avatar danepowell avatar kdruckman avatar phenaproxima avatar weitzman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lightning-project's Issues

How to upgrade

There is any documentatión on how to upgrade ? im looking but cannot find. 2.1.8 running drupal 8.3.9 i need to update to 8.6

Include JavaScript tests in CI

As part of the 3.3.0 release update, I disabled Behat javascript tests because of an error with those tests that seemed unrelated to the update. See this build for an example:
https://travis-ci.org/acquia/lightning-project/jobs/527106592

Note that the failures started before the 3.3.0 release. For example:
https://travis-ci.org/acquia/lightning-project/jobs/527101071

To work around the issue, I added --tags=~javascript to each of the builds which excluded those tests for now.

Lightning should provide an acquia-pipelines.yml file that works with Acquia Cloud OOTB

This is a follow-up to #94. We'd like to improve the acquia-pipelines.yml file to make it Acquia Cloud-friendly as much as possible. Even if there's code that is commented out, it'd be a great starting point for users to be able to quickly get started on Acquia Cloud.

Changes involve the following:

  • Changing - lightning configure:cloud to - lightning configure:cloud $PIPELINE_CLOUD_SITE
  • Adding a post-deploy step for demonstrating CDEs. Example below:
  post-deploy:
    steps:
      # Deploy the build artifact to an on-demand environment,
      # and sync the specified databases.
      - deploy:
          script:
            - pipelines-deploy
            - pipelines-sync-dbs
            # See https://docs.acquia.com/acquia-cloud/develop/pipelines/databases/

error composer install after git pull

Generating autoload files

[RuntimeException]
Could not scan for classes inside "scripts/ScriptHandler.php" which does not appear to be a file nor a folder

install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] []...

Steps to repeat:

composer create-project acquia/lightning-project:8.1.* xmd8 --no-interaction --stability rc
cd xmd8
git init
edit .gitignore # exclude tmp*
git add .
git add remote....
git push....
cd ..
rm xmd8
git clone xmd8 repo
cd xmd8
composer install

Trouble applying patches on Windows

i have tried and tried to install . keep getting this

[Exception]
Cannot apply patch 2869592 - Disabled update module shouldn't produce a status report warning (htt
ps://www.drupal.org/files/issues/2869592-remove-update-warning-7.patch)!

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [
--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progr
ess] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [] [] []

im on windows
run command
composer create-project acquia/lightning-project MY_PROJECT
drupal 8.8.1

how do i get around this ?

php artisan serve

Warning: require(/Users/account/Sites/test/vendor/autoload.php): failed to open stream: No such file or directory in /Users/account/Sites/test/artisan on line 18

Fatal error: require(): Failed opening required '/Users/account/Sites/test/vendor/autoload.php' (include_path='.:') in /Users/account/Sites/test/artisan on line 18

I am getting this error and not able to open laravel

I'm trying to give command in SSH and came across this message

Warning: require(/home/logim619/vendor/composer/../magento/language-pt_br/registration.php): failed to open stream: No such file or directory in /home/logim619/vendor/composer/autoload_real.php on line 70

Fatal error: require(): Failed opening required '/home/logim619/vendor/composer/../magento/language-pt_br/registration.php' (include_path='/home/logim619/vendor/magento/zendframework1/library:.:/opt/php71/lib/php') in /home/logim619/vendor/composer/autoload_real.php on line 70

Ad Update info in project Readme

Please add info about update.
I wasn't able to update the project from 2.18 to 2.20 without changing composer.json file and I believe it have to be mentioned.

Should "platform" be specifed for compatibility?

As is, when run, the composer.json file in lightning 2.2 will install packages that require PHP7.2 or greater (doctorine/annotations seems to cause the most warnings out of the box). This is bad. Acquia Cloud, for example, defaults to 5.6 and only has up to 7.1 available (DevDesktop tops out at 7.0.14).
Tweaking the config part of composer.json to

    "config": {
        "bin-dir": "bin/",
        "platform": {
          "php": "5.6.0"
        }
    },

prevents unnecessary breakage while installing adequately sufficiently update packages to seemingly function just fine.

Installation can fail on Windows

Hi Team,
When I use command
composer create-project acquia/lightning-project:^8.1.0 MYPROJECT --no-interaction
to install lightning project, get following issue. Please refer to the screenshot.

Please help

image

Drupal Console Alteration?

I've noticed in the community that there has been divisiveness over whether to track Drupal Console in the composer file, or as a reference to a local/global installation on a machine. Is there documentation or clarification on what the latest (1.11) version of Lightning expects or how it should be integrated?

I'm seeing the following and sussing out what will be more sustainable for continued use with Lightning:

[ERROR] Drupal Console is not installed at: /Users/mschaal/Dropbox/Web                                                 
         Applications/Drupal/D8-Demos/Lightning-Demo/docroot/     

You must execute this composer command:

 composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader 

And also:

ITLP00361:Lightning-Demo mschaal$ composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader
./composer.json has been updated
No patches supplied.
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
    - drupal/console 1.0.0-alpha1 requires symfony/css-selector ~2.8 -> satisfiable by symfony/css-selector[2.8.x-dev].
    - drupal/console 1.0.0-rc1 requires symfony/css-selector ~2.8 -> satisfiable by symfony/css-selector[2.8.x-dev].
    - drupal/console 1.0.0-rc2 requires symfony/css-selector ~2.8 -> satisfiable by symfony/css-selector[2.8.x-dev].
    - drupal/console 1.0.0-rc3 requires symfony/css-selector ~2.8 -> satisfiable by symfony/css-selector[2.8.x-dev].
    - drupal/console 1.0.0-rc4 requires symfony/css-selector ~2.8 -> satisfiable by symfony/css-selector[2.8.x-dev].
    - drupal/console 1.0.0-rc5 requires symfony/css-selector ~2.8 -> satisfiable by symfony/css-selector[2.8.x-dev].
    - Conclusion: don't install symfony/css-selector 2.8.x-dev
    - Conclusion: don't install drupal/console 1.0.0-beta5
    - Conclusion: don't install drupal/console 1.0.0-beta4
    - Conclusion: don't install drupal/console 1.0.0-beta3
    - Conclusion: don't install drupal/console 1.0.0-beta2
    - Conclusion: don't install drupal/console 1.0.0-beta1
    - Installation request for symfony/css-selector (locked at v2.7.19, required as 2.7.*) -> satisfiable by symfony/css-selector[v2.7.19].
    - Conclusion: remove symfony/config v3.1.5
    - Installation request for drupal/console ~1.0 -> satisfiable by drupal/console[1.0.0-alpha1, 1.0.0-alpha2, 1.0.0-beta1, 1.0.0-beta2, 1.0.0-beta3, 1.0.0-beta4, 1.0.0-beta5, 1.0.0-rc1, 1.0.0-rc2, 1.0.0-rc3, 1.0.0-rc4, 1.0.0-rc5].
    - Conclusion: don't install symfony/config v3.1.5
    - drupal/console 1.0.0-alpha2 requires symfony/config ~2.8 -> satisfiable by symfony/config[2.8.x-dev, v2.8.0, v2.8.0-BETA1, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9].
    - Can only install one of: symfony/config[2.8.x-dev, v3.1.5].
    - Can only install one of: symfony/config[v2.8.0, v3.1.5].
    - Can only install one of: symfony/config[v2.8.0-BETA1, v3.1.5].
    - Can only install one of: symfony/config[v2.8.1, v3.1.5].
    - Can only install one of: symfony/config[v2.8.10, v3.1.5].
    - Can only install one of: symfony/config[v2.8.11, v3.1.5].
    - Can only install one of: symfony/config[v2.8.12, v3.1.5].
    - Can only install one of: symfony/config[v2.8.2, v3.1.5].
    - Can only install one of: symfony/config[v2.8.3, v3.1.5].
    - Can only install one of: symfony/config[v2.8.4, v3.1.5].
    - Can only install one of: symfony/config[v2.8.5, v3.1.5].
    - Can only install one of: symfony/config[v2.8.6, v3.1.5].
    - Can only install one of: symfony/config[v2.8.7, v3.1.5].
    - Can only install one of: symfony/config[v2.8.8, v3.1.5].
    - Can only install one of: symfony/config[v2.8.9, v3.1.5].
    - Installation request for symfony/config (locked at v3.1.5) -> satisfiable by symfony/config[v3.1.5].


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

I could muddle through some dependency adjustments and sort this out for the current application we run, but I'm more interested in any vision/feedback from the engineers on where they plan on driving the integration, thanks!

Lightning RC4 not installed

Hi,

i am trying to update a RC3 version but when i run "composer update", it install 8.1.0-beta5.

When i try to install a clean lightning using:

composer create-project acquia/lightning-project:^8.1.0 MY_PROJECT --no-interaction --stability rc

it also installs me:

        "name": "drupal/lightning",
        "version": "8.1.0-beta5",

¿any ideas?

Best
David

Composer install fails to load the libraries

All these libraries were not installed by composer install. Wonder why?

libraries[backbone.collectionView][type] = library
libraries[backbone.collectionView][directory_name] = backbone.collectionView
libraries[backbone.collectionView][download][type] = git
libraries[backbone.collectionView][download][url] = git://github.com/rotundasoftware/backbone.collectionView.git
libraries[backbone.collectionView][download][tag] = v1.0.6
libraries[dropzone][type] = library
libraries[dropzone][directory_name] = dropzone
libraries[dropzone][download][type] = git
libraries[dropzone][download][url] = git://github.com/enyo/dropzone.git
libraries[dropzone][download][tag] = v4.3.0
libraries[es6-promise][type] = library
libraries[es6-promise][directory_name] = es6-promise
libraries[es6-promise][download][type] = git
libraries[es6-promise][download][url] = https://github.com/jakearchibald/es6-promise.git
libraries[es6-promise][download][tag] = v3.2.1
libraries[jquery_appear][type] = library
libraries[jquery_appear][directory_name] = jquery_appear
libraries[jquery_appear][download][type] = git
libraries[jquery_appear][download][url] = git://github.com/morr/jquery.appear.git
libraries[jquery_appear][download][tag] = 0.3.6

I am trying to give command in SSH and I came across this message

Warning: require(/home/logim619/vendor/composer/../magento/language-pt_br/registration.php): failed to open stream: No such file or directory in /home/logim619/vendor/composer/autoload_real.php on line 70

Warning: require(/home/logim619/vendor/composer/../magento/language-pt_br/registration.php): failed to open stream: No such file or directory in /home/logim619/vendor/composer/autoload_real.php on line 70

Fatal error: require(): Failed opening required '/home/logim619/vendor/composer/../magento/language-pt_br/registration.php' (include_path='/home/logim619/vendor/magento/zendframework1/library:.:/opt/php70/lib/php') in /home/logim619/vendor/composer/autoload_real.php on line 70

Add patchLevel for drupal/core to extra section of composer.json

composer-patches ends up leaving a stray directory after trying to apply patches to drupal/core in the wrong place. Lightning Project should use the patchLevel key to declare that drupal/core patches should be applied as -p2.

I.e.:

        "patchLevel": {
            "drupal/core": "-p2"
        }

change password

Sorry for the newbie question but i followed the composer quick-start method and have been signed in but I need the current password in order to be able to be able to change the password. How do I find this?

Lightning Project should not ship any artifacts of its own testing infrastructure.

See PR #85 and Acquia Jira ticket PF-1664 (for those that have access).

The fact that Lightning Project ships with dev dependencies and CI config is confusing since it doesn't aim to setup CI or testing for implementors. (Developers should use something like BLT if they want Acquia Cloud and CI integration).

Lightning should remove as much if its own testing cruft as possible after testing itself.

In ArrayElement.php line 76: The configuration property _core.default_config_hash doesn't exist.

Ran commands in following sequence:

composer require drush/drush:~9.5.0 acquia/blt:~9.2.0 acquia/lightning:~3.2.0 drupal/core:~8.6.2 --update-with-dependencies
composer require 'drupal/paragraphs:^1.5' 'drupal/entity_reference_revisions:^1.6'
drush @site-alias cr
drush @site-alias updb
drush @site-alias cr

After this I run:
drush @site-alias update:lightning
I get this error:

Executing all available updates...
Lightning 3.2.0

Do you want to update all sub-profiles to be Drupal 8.6-compatible? (yes/no) [yes]:

yes

In ArrayElement.php line 76:

The configuration property _core.default_config_hash doesn't exist.

Profile file I have is "profiles/custom/ggg-site":

name: 'ggg_site'
type: profile
description: 'Desc'
core: '8.x'
distribution:
  name: GGG Site
base profile: lightning
exclude:
  - lightning_media_twitter
  - lightning_media_instagram
  - lightning_layout
  - lightning_landing_page
  - lightning_workflow
  - lightning_page
  - lightning_roles
  - lightning_search
  - lightning_contact_form
  - page_cache
  - lightning_scheduled_updates

install:
  - acsf
  - pathauto
  - ggg_core

themes:
  - ggg
  - seven

laravel installation error

how to fix such type of error?
suresh@suresh-Inspiron-3442:~/Desktop/laravel/blog$ php artisan serve
PHP Warning: require(/home/suresh/Desktop/laravel/blog/vendor/autoload.php): failed to open stream: No such file or directory in /home/suresh/Desktop/laravel/blog/artisan on line 18
PHP Fatal error: require(): Failed opening required '/home/suresh/Desktop/laravel/blog/vendor/autoload.php' (include_path='.:/usr/share/php') in /home/suresh/Desktop/laravel/blog/artisan on line 18

Travis fails, looking for devel_generate

Travis fails after this line:
$ drush pm-enable lightning_dev --yes

The error messages are:
No release history was found for the requested project (devel_generate).

Module lightning_dev cannot be enabled because it depends on the following modules which could not be found: devel_generate

I may have missed something. Would you know how to resolve this?
I'm thinking devel_generate is already included in devel

composer create-project fails

Trying to install using the instructions and I'm running into a dependency conflict.

OS: Mac OS X
PHP: 7.1.16
Composer: version 1.6.4 2018-04-13 12:04:24

~/Sites/devdesktop > composer create-project acquia/lightning-project my_project
Installing acquia/lightning-project (8.5.0)
  - Installing acquia/lightning-project (8.5.0): Downloading (100%)         
Created project in my_project
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
    - Installation request for acquia/lightning_dev dev-8.x-1.x -> satisfiable by acquia/lightning_dev[dev-8.x-1.x].
    - acquia/lightning_dev dev-8.x-1.x requires drupal/console ^1.8 -> satisfiable by drupal/console[1.8.0] but these conflict with your requirements or minimum-stability.

create project not working

Hi,

In the doc you have a small problem, if you use:

composer create-project acquia/lightning-project:dev-master MY_PROJECT --no-interaction

I think the right command is now:

composer create-project acquia/lightning-project:8.x-dev MY_PROJECT --no-interaction

Best
David

Errors installing 8.x-1.00-rc7 via Composer or Dev Desktop

Getting a few errors trying to install version 8.x-1.00-rc7 using both Composer and Dev Desktop

View video: http://recordit.co/jOlE8SWu6p

Warning: uasort(): Array was modified by the user comparison function in Drupal\Core\Plugin\DefaultLazyPluginCollection->sort() (line 90 of core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php).
Drupal\Core\Plugin\DefaultLazyPluginCollection->sort() (Line: 301)
Drupal\entity_browser\Entity\EntityBrowser->getWidgets() (Line: 278)
Drupal\entity_browser\Entity\EntityBrowser->getPluginCollections() (Line: 319)
Drupal\Core\Config\Entity\ConfigEntityBase->preSave(Object) (Line: 423)
Drupal\entity_browser\Entity\EntityBrowser->preSave(Object) (Line: 434)
Drupal\Core\Entity\EntityStorageBase->doPreSave(Object) (Line: 389)
Drupal\Core\Entity\EntityStorageBase->save(Object) (Line: 259)
Drupal\Core\Config\Entity\ConfigEntityStorage->save(Object) (Line: 358)
Drupal\Core\Entity\Entity->save() (Line: 637)
Drupal\Core\Config\Entity\ConfigEntityBase->save() (Line: 462)
Drupal\entity_browser\Entity\EntityBrowser->save() (Line: 321)
Drupal\Core\Config\ConfigInstaller->createConfiguration('', Array) (Line: 125)
Drupal\Core\Config\ConfigInstaller->installDefaultConfig('module', 'lightning_media') (Line: 75)
Drupal\Core\ProxyClass\Config\ConfigInstaller->installDefaultConfig('module', 'lightning_media') (Line: 248)
Drupal\Core\Extension\ModuleInstaller->install(Array, 1) (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array) (Line: 79)
lightning_extensions_enable(Array, Object)
call_user_func_array('lightning_extensions_enable', Array) (Line: 111)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 583)
Drupal\Core\Form\FormBuilder->processForm('install_configure_form', Array, Object) (Line: 314)
Drupal\Core\Form\FormBuilder->buildForm('Drupal\Core\Installer\Form\SiteConfigureForm', Object) (Line: 884)
install_get_form('Drupal\Core\Installer\Form\SiteConfigureForm', Array) (Line: 574)
install_run_task(Array, Array) (Line: 530)
install_run_tasks(Array) (Line: 115)
install_drupal(Object) (Line: 39)
Warning: uasort(): Array was modified by the user comparison function in Drupal\Core\Plugin\DefaultLazyPluginCollection->sort() (line 90 of core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php).
Drupal\Core\Plugin\DefaultLazyPluginCollection->sort() (Line: 301)
Drupal\entity_browser\Entity\EntityBrowser->getWidgets() (Line: 278)
Drupal\entity_browser\Entity\EntityBrowser->getPluginCollections() (Line: 166)
Drupal\Core\Config\Entity\ConfigEntityBase->set('widgets', Array) (Line: 595)
lightning_media_update_8008() (Line: 22)
lightning_media_install()
call_user_func_array('lightning_media_install', Array) (Line: 391)
Drupal\Core\Extension\ModuleHandler->invoke('lightning_media', 'install') (Line: 287)
Drupal\Core\Extension\ModuleInstaller->install(Array, 1) (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array) (Line: 79)
lightning_extensions_enable(Array, Object)
call_user_func_array('lightning_extensions_enable', Array) (Line: 111)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 583)
Drupal\Core\Form\FormBuilder->processForm('install_configure_form', Array, Object) (Line: 314)
Drupal\Core\Form\FormBuilder->buildForm('Drupal\Core\Installer\Form\SiteConfigureForm', Object) (Line: 884)
install_get_form('Drupal\Core\Installer\Form\SiteConfigureForm', Array) (Line: 574)
install_run_task(Array, Array) (Line: 530)
install_run_tasks(Array) (Line: 115)
install_drupal(Object) (Line: 39)
Notice: Undefined index: weight in Drupal\Core\Entity\EntityDisplayBase->init() (line 166 of core/lib/Drupal/Core/Entity/EntityDisplayBase.php).
Drupal\Core\Entity\EntityDisplayBase->init() (Line: 143)
Drupal\Core\Entity\EntityDisplayBase->__construct(Array, 'entity_form_display') (Line: 126)
Drupal\Core\Entity\Entity\EntityFormDisplay->__construct(Array, 'entity_form_display') (Line: 224)
Drupal\Core\Config\Entity\ConfigEntityStorage->doCreate(Array) (Line: 184)
Drupal\Core\Entity\EntityStorageBase->create(Array) (Line: 509)
Drupal\Core\Entity\Entity::create(Array) (Line: 42)
lightning_media_media_bundle_insert(Object)
call_user_func_array('lightning_media_media_bundle_insert', Array) (Line: 402)
Drupal\Core\Extension\ModuleHandler->invokeAll('media_bundle_insert', Array) (Line: 369)
Drupal\Core\Config\Entity\ConfigEntityStorage->invokeHook('insert', Object) (Line: 470)
Drupal\Core\Entity\EntityStorageBase->doPostSave(Object, ) (Line: 395)
Drupal\Core\Entity\EntityStorageBase->save(Object) (Line: 259)
Drupal\Core\Config\Entity\ConfigEntityStorage->save(Object) (Line: 358)
Drupal\Core\Entity\Entity->save() (Line: 637)
Drupal\Core\Config\Entity\ConfigEntityBase->save() (Line: 321)
Drupal\Core\Config\ConfigInstaller->createConfiguration('', Array) (Line: 125)
Drupal\Core\Config\ConfigInstaller->installDefaultConfig('module', 'lightning_media_instagram') (Line: 75)
Drupal\Core\ProxyClass\Config\ConfigInstaller->installDefaultConfig('module', 'lightning_media_instagram') (Line: 248)
Drupal\Core\Extension\ModuleInstaller->install(Array, 1) (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array) (Line: 79)
lightning_extensions_enable(Array, Object)
call_user_func_array('lightning_extensions_enable', Array) (Line: 111)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 583)
Drupal\Core\Form\FormBuilder->processForm('install_configure_form', Array, Object) (Line: 314)
Drupal\Core\Form\FormBuilder->buildForm('Drupal\Core\Installer\Form\SiteConfigureForm', Object) (Line: 884)
install_get_form('Drupal\Core\Installer\Form\SiteConfigureForm', Array) (Line: 574)
install_run_task(Array, Array) (Line: 530)
install_run_tasks(Array) (Line: 115)
install_drupal(Object) (Line: 39)
Notice: Undefined index: weight in Drupal\Core\Entity\EntityDisplayBase->init() (line 166 of core/lib/Drupal/Core/Entity/EntityDisplayBase.php).
Drupal\Core\Entity\EntityDisplayBase->init() (Line: 143)
Drupal\Core\Entity\EntityDisplayBase->__construct(Array, 'entity_form_display') (Line: 126)
Drupal\Core\Entity\Entity\EntityFormDisplay->__construct(Array, 'entity_form_display') (Line: 322)
Drupal\Core\Entity\EntityStorageBase->mapFromStorageRecords(Array) (Line: 472)
Drupal\Core\Config\Entity\ConfigEntityStorage->updateFromStorageRecord(Object, Array) (Line: 315)
Drupal\Core\Config\ConfigInstaller->createConfiguration('', Array) (Line: 125)
Drupal\Core\Config\ConfigInstaller->installDefaultConfig('module', 'lightning_media_instagram') (Line: 75)
Drupal\Core\ProxyClass\Config\ConfigInstaller->installDefaultConfig('module', 'lightning_media_instagram') (Line: 248)
Drupal\Core\Extension\ModuleInstaller->install(Array, 1) (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array) (Line: 79)
lightning_extensions_enable(Array, Object)
call_user_func_array('lightning_extensions_enable', Array) (Line: 111)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 583)
Drupal\Core\Form\FormBuilder->processForm('install_configure_form', Array, Object) (Line: 314)
Drupal\Core\Form\FormBuilder->buildForm('Drupal\Core\Installer\Form\SiteConfigureForm', Object) (Line: 884)
install_get_form('Drupal\Core\Installer\Form\SiteConfigureForm', Array) (Line: 574)
install_run_task(Array, Array) (Line: 530)
install_run_tasks(Array) (Line: 115)
install_drupal(Object) (Line: 39)
Notice: Undefined index: weight in Drupal\Core\Entity\EntityDisplayBase->init() (line 166 of core/lib/Drupal/Core/Entity/EntityDisplayBase.php).
Drupal\Core\Entity\EntityDisplayBase->init() (Line: 143)
Drupal\Core\Entity\EntityDisplayBase->__construct(Array, 'entity_form_display') (Line: 126)
Drupal\Core\Entity\Entity\EntityFormDisplay->__construct(Array, 'entity_form_display') (Line: 224)
Drupal\Core\Config\Entity\ConfigEntityStorage->doCreate(Array) (Line: 184)
Drupal\Core\Entity\EntityStorageBase->create(Array) (Line: 509)
Drupal\Core\Entity\Entity::create(Array) (Line: 42)
lightning_media_media_bundle_insert(Object)
call_user_func_array('lightning_media_media_bundle_insert', Array) (Line: 402)
Drupal\Core\Extension\ModuleHandler->invokeAll('media_bundle_insert', Array) (Line: 369)
Drupal\Core\Config\Entity\ConfigEntityStorage->invokeHook('insert', Object) (Line: 470)
Drupal\Core\Entity\EntityStorageBase->doPostSave(Object, ) (Line: 395)
Drupal\Core\Entity\EntityStorageBase->save(Object) (Line: 259)
Drupal\Core\Config\Entity\ConfigEntityStorage->save(Object) (Line: 358)
Drupal\Core\Entity\Entity->save() (Line: 637)
Drupal\Core\Config\Entity\ConfigEntityBase->save() (Line: 321)
Drupal\Core\Config\ConfigInstaller->createConfiguration('', Array) (Line: 125)
Drupal\Core\Config\ConfigInstaller->installDefaultConfig('module', 'lightning_media_twitter') (Line: 75)
Drupal\Core\ProxyClass\Config\ConfigInstaller->installDefaultConfig('module', 'lightning_media_twitter') (Line: 248)
Drupal\Core\Extension\ModuleInstaller->install(Array, 1) (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array) (Line: 79)
lightning_extensions_enable(Array, Object)
call_user_func_array('lightning_extensions_enable', Array) (Line: 111)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 583)
Drupal\Core\Form\FormBuilder->processForm('install_configure_form', Array, Object) (Line: 314)
Drupal\Core\Form\FormBuilder->buildForm('Drupal\Core\Installer\Form\SiteConfigureForm', Object) (Line: 884)
install_get_form('Drupal\Core\Installer\Form\SiteConfigureForm', Array) (Line: 574)
install_run_task(Array, Array) (Line: 530)
install_run_tasks(Array) (Line: 115)
install_drupal(Object) (Line: 39)
Notice: Undefined index: weight in Drupal\Core\Entity\EntityDisplayBase->init() (line 166 of core/lib/Drupal/Core/Entity/EntityDisplayBase.php).
Drupal\Core\Entity\EntityDisplayBase->init() (Line: 143)
Drupal\Core\Entity\EntityDisplayBase->__construct(Array, 'entity_form_display') (Line: 126)
Drupal\Core\Entity\Entity\EntityFormDisplay->__construct(Array, 'entity_form_display') (Line: 322)
Drupal\Core\Entity\EntityStorageBase->mapFromStorageRecords(Array) (Line: 472)
Drupal\Core\Config\Entity\ConfigEntityStorage->updateFromStorageRecord(Object, Array) (Line: 315)
Drupal\Core\Config\ConfigInstaller->createConfiguration('', Array) (Line: 125)
Drupal\Core\Config\ConfigInstaller->installDefaultConfig('module', 'lightning_media_twitter') (Line: 75)
Drupal\Core\ProxyClass\Config\ConfigInstaller->installDefaultConfig('module', 'lightning_media_twitter') (Line: 248)
Drupal\Core\Extension\ModuleInstaller->install(Array, 1) (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array) (Line: 79)
lightning_extensions_enable(Array, Object)
call_user_func_array('lightning_extensions_enable', Array) (Line: 111)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 583)
Drupal\Core\Form\FormBuilder->processForm('install_configure_form', Array, Object) (Line: 314)
Drupal\Core\Form\FormBuilder->buildForm('Drupal\Core\Installer\Form\SiteConfigureForm', Object) (Line: 884)
install_get_form('Drupal\Core\Installer\Form\SiteConfigureForm', Array) (Line: 574)
install_run_task(Array, Array) (Line: 530)
install_run_tasks(Array) (Line: 115)
install_drupal(Object) (Line: 39)
Notice: Undefined index: weight in Drupal\Core\Entity\EntityDisplayBase->init() (line 166 of core/lib/Drupal/Core/Entity/EntityDisplayBase.php).
Drupal\Core\Entity\EntityDisplayBase->init() (Line: 143)
Drupal\Core\Entity\EntityDisplayBase->__construct(Array, 'entity_form_display') (Line: 126)
Drupal\Core\Entity\Entity\EntityFormDisplay->__construct(Array, 'entity_form_display') (Line: 224)
Drupal\Core\Config\Entity\ConfigEntityStorage->doCreate(Array) (Line: 184)
Drupal\Core\Entity\EntityStorageBase->create(Array) (Line: 509)
Drupal\Core\Entity\Entity::create(Array) (Line: 42)
lightning_media_media_bundle_insert(Object)
call_user_func_array('lightning_media_media_bundle_insert', Array) (Line: 402)
Drupal\Core\Extension\ModuleHandler->invokeAll('media_bundle_insert', Array) (Line: 369)
Drupal\Core\Config\Entity\ConfigEntityStorage->invokeHook('insert', Object) (Line: 470)
Drupal\Core\Entity\EntityStorageBase->doPostSave(Object, ) (Line: 395)
Drupal\Core\Entity\EntityStorageBase->save(Object) (Line: 259)
Drupal\Core\Config\Entity\ConfigEntityStorage->save(Object) (Line: 358)
Drupal\Core\Entity\Entity->save() (Line: 637)
Drupal\Core\Config\Entity\ConfigEntityBase->save() (Line: 321)
Drupal\Core\Config\ConfigInstaller->createConfiguration('', Array) (Line: 125)
Drupal\Core\Config\ConfigInstaller->installDefaultConfig('module', 'lightning_media_video') (Line: 75)
Drupal\Core\ProxyClass\Config\ConfigInstaller->installDefaultConfig('module', 'lightning_media_video') (Line: 248)
Drupal\Core\Extension\ModuleInstaller->install(Array, 1) (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array) (Line: 79)
lightning_extensions_enable(Array, Object)
call_user_func_array('lightning_extensions_enable', Array) (Line: 111)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 583)
Drupal\Core\Form\FormBuilder->processForm('install_configure_form', Array, Object) (Line: 314)
Drupal\Core\Form\FormBuilder->buildForm('Drupal\Core\Installer\Form\SiteConfigureForm', Object) (Line: 884)
install_get_form('Drupal\Core\Installer\Form\SiteConfigureForm', Array) (Line: 574)
install_run_task(Array, Array) (Line: 530)
install_run_tasks(Array) (Line: 115)
install_drupal(Object) (Line: 39)
Notice: Undefined index: weight in Drupal\Core\Entity\EntityDisplayBase->init() (line 166 of core/lib/Drupal/Core/Entity/EntityDisplayBase.php).
Drupal\Core\Entity\EntityDisplayBase->init() (Line: 143)
Drupal\Core\Entity\EntityDisplayBase->__construct(Array, 'entity_form_display') (Line: 126)
Drupal\Core\Entity\Entity\EntityFormDisplay->__construct(Array, 'entity_form_display') (Line: 322)
Drupal\Core\Entity\EntityStorageBase->mapFromStorageRecords(Array) (Line: 472)
Drupal\Core\Config\Entity\ConfigEntityStorage->updateFromStorageRecord(Object, Array) (Line: 315)
Drupal\Core\Config\ConfigInstaller->createConfiguration('', Array) (Line: 125)
Drupal\Core\Config\ConfigInstaller->installDefaultConfig('module', 'lightning_media_video') (Line: 75)
Drupal\Core\ProxyClass\Config\ConfigInstaller->installDefaultConfig('module', 'lightning_media_video') (Line: 248)
Drupal\Core\Extension\ModuleInstaller->install(Array, 1) (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array) (Line: 79)
lightning_extensions_enable(Array, Object)
call_user_func_array('lightning_extensions_enable', Array) (Line: 111)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 583)
Drupal\Core\Form\FormBuilder->processForm('install_configure_form', Array, Object) (Line: 314)
Drupal\Core\Form\FormBuilder->buildForm('Drupal\Core\Installer\Form\SiteConfigureForm', Object) (Line: 884)
install_get_form('Drupal\Core\Installer\Form\SiteConfigureForm', Array) (Line: 574)
install_run_task(Array, Array) (Line: 530)
install_run_tasks(Array) (Line: 115)
install_drupal(Object) (Line: 39)

Also, when I try adding a variant via Page Manager, I can't get past this screen:

screenshot_6_17_16 _11_28_pm

Upgrade Issues

When upgrading Lighting from one version to next I am running into problems because of requirements. To get around this I just delete the composer.lock file and rerun composer install. Is that the correct way to do it?

Here is what happens if I upgrade from Lightning 8.1.00-rc6 to 8.1.0.

± |master ✓| → composer require drupal/lightning:8.1.0
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
    1/1:  http://packagist.org/p/provider-latest$aa4f1da6acef0b15640bc1cace21327f5342dbb88c61b4605f0b1b0ff21d7399.json
    Finished: success: 1, skipped: 0, failure: 0, total: 1
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: drupal/entity_browser[8.1.x-dev, 8.1.0-alpha3].
    - Can only install one of: drupal/entity_browser[8.1.0-alpha3, 8.1.x-dev].
    - drupal/lightning 8.1.00 requires drupal/entity_browser 8.1.0-alpha3 -> satisfiable by drupal/entity_browser[8.1.0-alpha3].
    - Installation request for drupal/lightning 8.1.0 -> satisfiable by drupal/lightning[8.1.00].
    - Installation request for drupal/entity_browser (locked at 8.1.x-dev) -> satisfiable by drupal/entity_browser[8.1.x-dev].


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

Is there a way to upgrade without deleting the composer.lock file or is that what I should be doing every time I upgrade?

Memory requirement for installation?

My memory limit is 256MB, but as noted in the composer docs, it increases that limit internally.

seanr@Seans-MacBook-Pro ~/Sites $ composer create-project acquia/lightning-project:^8.1.0 lightning --no-interaction
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Installing acquia/lightning-project (8.2.2)
  - Installing acquia/lightning-project (8.2.2)
    Downloading: 100%         

Created project in lightning
Loading composer repositories with package information
Updating dependencies (including require-dev)
PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 134217728 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Solver.php on line 220
PHP Stack trace:
PHP   1. {main}() /usr/local/bin/composer:0
PHP   2. require() /usr/local/bin/composer:24
PHP   3. Composer\Console\Application->run() phar:///usr/local/bin/composer/bin/composer:43
PHP   4. Symfony\Component\Console\Application->run() phar:///usr/local/bin/composer/src/Composer/Console/Application.php:99
PHP   5. Composer\Console\Application->doRun() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:123
PHP   6. Symfony\Component\Console\Application->doRun() phar:///usr/local/bin/composer/src/Composer/Console/Application.php:189
PHP   7. Symfony\Component\Console\Application->doRunCommand() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:192
PHP   8. Symfony\Component\Console\Command\Command->run() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:844
PHP   9. Composer\Command\CreateProjectCommand->execute() phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:259
PHP  10. Composer\Command\CreateProjectCommand->installProject() phar:///usr/local/bin/composer/src/Composer/Command/CreateProjectCommand.php:142
PHP  11. Composer\Installer->run() phar:///usr/local/bin/composer/src/Composer/Command/CreateProjectCommand.php:187
PHP  12. Composer\Installer->doInstall() phar:///usr/local/bin/composer/src/Composer/Installer.php:228
PHP  13. Composer\DependencyResolver\Solver->solve() phar:///usr/local/bin/composer/src/Composer/Installer.php:502

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 134217728 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Solver.php on line 220

Call Stack:
    0.0010     228928   1. {main}() /usr/local/bin/composer:0
    0.0189     426616   2. require('phar:///usr/local/bin/composer/bin/composer') /usr/local/bin/composer:24
    0.0478    4179992   3. Composer\Console\Application->run() phar:///usr/local/bin/composer/bin/composer:43
    0.0500    4556648   4. Symfony\Component\Console\Application->run() phar:///usr/local/bin/composer/src/Composer/Console/Application.php:99
    0.0508    4691056   5. Composer\Console\Application->doRun() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:123
    0.1323    4832224   6. Symfony\Component\Console\Application->doRun() phar:///usr/local/bin/composer/src/Composer/Console/Application.php:189
    0.1324    4832720   7. Symfony\Component\Console\Application->doRunCommand() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:192
    0.1325    4833296   8. Symfony\Component\Console\Command\Command->run() phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:844
    0.1332    4839528   9. Composer\Command\CreateProjectCommand->execute() phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:259
    0.1364    5059144  10. Composer\Command\CreateProjectCommand->installProject() phar:///usr/local/bin/composer/src/Composer/Command/CreateProjectCommand.php:142
    5.5883   95401888  11. Composer\Installer->run() phar:///usr/local/bin/composer/src/Composer/Command/CreateProjectCommand.php:187
    5.6860   11325784  12. Composer\Installer->doInstall() phar:///usr/local/bin/composer/src/Composer/Installer.php:228
    6.3851   12081776  13. Composer\DependencyResolver\Solver->solve() phar:///usr/local/bin/composer/src/Composer/Installer.php:502


Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.seanr@Seans-MacBook-Pro ~/Sites $ 

Help with Laravel initial setup

I installed composer and laravel, but when attempting to run php artisan i get the following errors

`Warning: require(/Users/josephharker/code/myfirstsite/vendor/autoload.php): failed to open stream: No such file or directory in /Users/josephharker/code/myfirstsite/artisan on line 18

Fatal error: require(): Failed opening required '/Users/josephharker/code/myfirstsite/vendor/autoload.php' (include_path='.:') in /Users/josephharker/code/myfirstsite/artisan on line 18
(base) Josephs-MBP:myfirstsite josephharker$ `

Here is a snippet of my PATH

//anaconda3/bin://anaconda3/condabin:/Users/josephharker/bin:/Users/josephharker/bin:/usr/local/bin:/usr/local/lib:/Users/josephharker/.composer/vendor/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin

Could anyone shed light on the issues I am having? I am new to this stuff, so be gentle

Run phpunit tests

We should be running our phpunit tests on this projects CI as well. Should also switch to the DC commands for update to avoid drush cache handling problems.

Unable to perform update

I have an issue with the Lightning update, we are using Acquia cloud for our application, I am in process of updating Lightning to the latest version, 2.1.6 to 3.1.4, during the process from 2.16 to 2.1.8 I am getting an error
'Attempt to create a field scheduled_update that [error]
does not exist on entity type node.'
Any help would be appreciated
I cannot clear the cache or I cant perform drush updb

Error installing lightning using composer on windows 8

I'm getting the following error:

Now trying to download from dist
Installing drupal/core (8.2.1)
Downloading: 100%

[ErrorException]
ZipArchive::extractTo(): Full extraction path exceed MAXPATHLEN (260)

This occurs when attempting to run the following command:

$ composer create-project acquia/lightning-project:^8.1.0 drupal-dev --no-interaction

Additionally, i had found the following article addressing the same issue:

https://medium.com/@tadaspaplauskas/quick-fix-composer-path-length-error-on-windows-d663daa3cae3#.dbl6auw4p

However, the proposed solution did not work for me. Please advise, thanks!

composer create-project fails with "Failed to execute git checkout"

After clearing the composer cache while running:
composer 1.2.1
git 2.8.4
macOS 10.12

I executed:
composer create-project acquia/lightning-project:^8.1.0 rh-lightning --no-interaction

And received:

...
- Installing drupal/layout_plugin (8.1.0-alpha23)
    Loading from cache

  - Installing drupal/entity_storage_migrate (dev-8.x-1.x 792dd73)
    Cloning 792dd730f32c737acef1d7292e91e2502900ff03 from cache

  [RuntimeException]                                                                                                                              
  Failed to execute git checkout '792dd730f32c737acef1d7292e91e2502900ff03' -- && git reset --hard '792dd730f32c737acef1d7292e91e2502900ff03' --  
  fatal: Not a git repository (or any of the parent directories): .git

The following post suggests adding --prefer-dist, but that did not help, nor did --prefer-source:
composer/composer#996

Is this a bad repository?

Lightning Project shouldn't ship with Lightning Dev

We need Lightning Dev and our other dev dependencies to build and test Lightning Project. But implementors have no use for Lightning Dev and a fresh codebase created from this project shouldn't have it.

Possible solution:
Have the CI script add Lightning Dev. That might make internal development a little annoying - but we don't do much dev on this project.

Proper upgrade from from 2.1.7 to 2.2.2?

What is the process to upgrade composer lightning project and drupal installation from drupal/core (8.3.7) and acquia/lightning (2.1.7) to drupal/core (8.4) and acquia/lightning (2.2.2 at least)
simple composer update and drush updb / drupal update fails misserably after update of composer dependencies?

Error : Repository type is not registered: github

I'm trying to install Drupal/lightning with composer but I get the following error:

[InvalidArgumentException]                 
Repository type is not registered: github

In composer.json, the dev repo is of type "github":

 "dev": {
            "type": "github",
            "url": "https://github.com/acquia/lightning-dev",
            "no-api": true
        }

need help plz :(

Warning: require(C:\xampp\htdocs\bestBlog\vendor\composer/../symfony/polyfill-ctype/bootstrap.php): failed to open stream: No such file or directory in C:\xampp\htdocs\bestBlog\vendor\composer\autoload_real.php on line 66

Fatal error: require(): Failed opening required 'C:\xampp\htdocs\bestBlog\vendor\composer/../symfony/polyfill-ctype/bootstrap.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\bestBlog\vendor\composer\autoload_real.php on line 66

Hanged after command of composer quick-start

It's hanged
image

also how to avoid that command "composer quick-start" which download again and again files which are already exists in directory so is there any command to just start that project without composer quick-start command.

Warning at Magento 2

Hello! everyone. I am not a programmer, I have posted it on behalf of our developer team. we are facing a warning issue. could you please help our team to solve this.

Warning: require(/var/www/html/vendor/composer/../magento/framework/registration.php): failed to open stream: No such file or directory in /var/www/html/vendor/composer/autoload_real.php on line 70

Fatal error: require(): Failed opening required '/var/www/html/vendor/composer/../magento/framework/registration.php' (include_path='/var/www/html/vendor/magento/zendframework1/library:.:/usr/share/php') in /var/www/html/vendor/composer/autoload_real.php on line 70

License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead

composer.json reads:

{
    "name": "acquia/lightning-project",
    "description": "Project template for Drupal 8 sites built with the Lightning distribution.",
    "type": "project",
    "license": "GPL-2.0+",

...resulting in the following warning:

License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead

composer.json should read:

{
    "name": "acquia/lightning-project",
    "description": "Project template for Drupal 8 sites built with the Lightning distribution.",
    "type": "project",
    "license": "GPL-2.0-or-later",

Installation Issues

I've attempted a composer install with no success

zsh: composer create-project acquia/lightning-project:^8.1.0 MY_PROJECT --no-interaction

results in

zsh: no matches found: acquia/lightning-project:^8.1.0

I am composer --version 1.1.1, node --version 5.4.0

anything I should look for?
(in the meantime using the depreciated old school sip DL method - anything I will miss out on with that?)

Unsupported modules after fresh install

Hi,
Today I installed Acquia Lightning with composer on my own server. I used Postgres database as MySQL did not work (It kept on jumping back to install.php after installation)
After successful installation, I went to the Reports -> Status report menu and it indicates that there was 1 Error and 1 Warning.
The warning is due to the Media Library Experimental module

The error indicated that there is at least one module that is unsupported. So I clicked on the "Unsupported release" link in the error message.
It took me to the Update page and listed 3 modules:

  • Media entity Instagram : installed version 8.x-2.0-alpha2, Recommended version 8.x-2.0
  • Media entity Twitter : installed version 8.x-2.0-alpha3, Recommended version 8.x-2.1
  • Simple OAuth (Unsupported) : Installed version 8.x-3.16, Recommended version 8.x-4.3

So I installed the updates and the system broke, complaining about missing classes. Seemed the Simple OAuth had problems (It did warn that the new version might not be backward compatible.)

So I removed it via composer and installed it again. Solved that issue.

But then Media entity instagram complained about a missing class when I go to the Status report. I tried to remove it and install it again, but that did not work.

Eventually, I dropped my database and started from scratch.

So now I have the installation working, but with these errors and the 3 modules that is listed to be updated.

Should I just leave them and when will I know to update them. Or should I only do updates via composer?

Thanks
Andre Truter

problem in uploading files using jsonapi

I am using Lightning 8.x-3.100 as backend, and attempting to upload files using jsonapi, I followed the guide comes in Working with files (POST) but I got the following response

{ "errors": [ { "title": "Internal Server Error", "status": 500, "detail": "Field data is unknown.", "links": { "info": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1" }, "code": 0 } ] }
the request:

curl --request POST \ --url http://localhost/Lightning/docroot/jsonapi/file/document \ --header 'Accept: application/vnd.api+json' \ --header 'Content-Type: application/vnd.api+json' \ --body'{ "data": { "type": "file--document", "attributes": { "data": "SGV5LCBpdCB3b3JrcyE=", "uri": "public://filename.txt" } } }

in the dblog I got the following message:

InvalidArgumentException: Field data is unknown. in Drupal\Core\Entity\ContentEntityBase->getTranslatedField() (line 580 of C:\wamp64\www\Lightning\docroot\core\lib\Drupal\Core\Entity\ContentEntityBase.php).

by searching in jsonapi issues i found the same problem in #2946746: Field data is unknown
I applied the patch 2883086-54-combined.patch coming from #2883086: Port RequestHandler + ResourceResponse(Interface) improvements from REST module to JSON API but the problem did not solved

Proper upgrade from from 2.2.7 to 3.0.0?

What is the process to upgrade composer lightning project from acquia/lightning (2.2.7) to acquia/lightning (3.0.0) - simple composer update and drush updb dosen't work.

Invalid version string

Script DrupalComposer\DrupalScaffold\Plugin::scaffold handling the post-install-cmd event terminated with an exception

  [UnexpectedValueException]  
  Invalid version string "*"  

On native Ubuntu 15

composer create-project acquia/lightning-project:8.1.* www --no-interaction --stability rc

Same error both on rc and beta stbility
screenshot from 2016-04-16 14-20-37

Warning: require(/var/www/html/../vendor/autoload.php): failed to open stream: No such file or directory

Hello

I have run

composer create-project acquia/lightning-project lightningdev
composer update
composer install

Running just the first command seems to be enough, in that there are no errors. The other two are just for good measure.

But when I try to run the generated drupal site I get:

Warning: require(/var/www/html/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/autoload.php on line 17

Fatal error: require(): Failed opening required '/var/www/html/../vendor/autoload.php' (include_path='.:') in /var/www/html/autoload.php on line 17

Any ideas what I am doing wrong?

composer & acquia cloud

Hi!,

One question with new composer style of making sites. sure you can help me and others working as you do in acquia. the question is how do you deploy this kind of distros in platforms like acquia cloud if you exclude vendor folders from GIT. Any clue is welcome!

thx in advance

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.