Hi, I had the following issue while installing the module with composer:

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

  Problem 1
    - Installation request for drupal/choices 1.x-dev -> satisfiable by drupal/choices[1.x-dev].
    - drupal/choices 1.x-dev requires npm-asset/choices.js ~9.0.1 -> no matching package found.

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 <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

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

Any help is welcome.

Comments

sahaj created an issue. See original summary.

  • yusufhm committed 1913aa6 on 8.x-1.x
    Issue #3125185: Add installation instructions.
    
joelpittet’s picture

Could you make the npm-asset through composer optional some how?

I'm interested in using this module but getting this issue too an I manage my assets manually with copy-files-from-to

So even if it did work I'm not sure at the moment if these strategies would play nicely.

  • yusufhm committed d411a03 on 8.x-1.x
    Issue #3125185: Made composer installation optional.
    
yusufhm’s picture

Hey @sahaj/@joelpittet, sorry about the delay on this one; I've just committed a change to make composer installation optional as per Joel's suggestion.

yusufhm’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.