Currently, the elementor Github repository and other code have been placed directly with the module folder. These should be installed using composer. All the libraries, commented code, and files not needed in the module should be removed.

Comments

gaurav.kapoor created an issue. See original summary.

  • gaurav.kapoor committed c09e80d on 8.x-1.x
    Issue #3251877 by gaurav.kapoor: Add composer.json and use composer to...
gaurav.kapoor’s picture

Title: Add composer.json and use composer to install all the required libraries. » Add composer.json and use composer to install all the required libraries and perform a clean up.
Issue summary: View changes
gaurav.kapoor’s picture

Version: 8.x-1.x-dev » 2.0.x-dev

  • gaurav.kapoor committed 1c6245a on 2.0.x
    Issue #3251877 by gaurav.kapoor: Add composer.json and use composer to...

  • gaurav.kapoor committed 5ceeb43 on 2.0.x
    Issue #3251877 by gaurav.kapoor: Add composer.json and use composer to...

  • gaurav.kapoor committed c36243f on 2.0.x
    Issue #3251877 by gaurav.kapoor: Add composer.json and use composer to...

  • gaurav.kapoor committed 55f2fcc on 2.0.x
    Issue #3251877 by gaurav.kapoor: Add composer.json and use composer to...

  • gaurav.kapoor committed 208f846 on 2.0.x
    Issue #3251877 by gaurav.kapoor: Add composer.json and use composer to...

  • gaurav.kapoor committed e3b41c6 on 2.0.x
    Issue #3251877 by gaurav.kapoor: Add composer.json and use composer to...
ViNCE’s picture

By installing via --> composer require 'drupal/elementor:2.0.x-dev@dev'

I'm getting the error:
Your requirements could not be resolved to an installable set of packages.

Problem 1
- drupal/elementor dev-2.0.x requires elementor/elementor ^v3.4.8 -> could not be found in any version, there may be a typo in the package name.
- drupal/elementor 2.0.x-dev is an alias of drupal/elementor dev-2.0.x and thus requires it to be installed too.
- Root composer.json requires drupal/elementor 2.0.x-dev@dev -> satisfiable by drupal/elementor[2.0.x-dev (alias of dev-2.0.x)].

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see for more details.
- It's a private package and you forgot to add a custom repository to find it

Read for further common problems.

gaurav.kapoor’s picture

Status: Active » Needs work
q8tywolf’s picture

Hello Any work around or fixes?

luisalvare22’s picture

How can I solve this error:

By installing via --> composer require 'drupal/elementor:2.0.x-dev@dev'

I'm getting the error:
Your requirements could not be resolved to an installable set of packages.

Problem 1
- drupal/elementor dev-2.0.x requires elementor/elementor ^v3.4.8 -> could not be found in any version, there may be a typo in the package name.
- drupal/elementor 2.0.x-dev is an alias of drupal/elementor dev-2.0.x and thus requires it to be installed too.
- Root composer.json requires drupal/elementor 2.0.x-dev@dev -> satisfiable by drupal/elementor[2.0.x-dev (alias of dev-2.0.x)].

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see for more details.
- It's a private package and you forgot to add a custom repository to find it

ressa’s picture

Thanks for taking over the project @gaurav.kapoor.

I have been using Elementor on a Wordpress project recently, and it looks like the Section issues are soon solved (see Elementor listened to us! The Container solves many Problems) so it would be awesome to have Elementor available for Drupal, especially for use cases such as building landing pages quickly.

ressa’s picture

It looks like this project has stalled ...

The closest thing to Elementor in Drupal is probably the Mercury Editor. You can try a fully functional demo by installing the test module, see my README MR.

See also this presentation from Nov 6, 2023: Mercury Editor: Easy-to-Use, Drag-and-Drop Content Editing for Drupal.