This is what we did to solve the problem:
Run composer require drupal/dropzonejs enyo/dropzone
Visit github and download https://github.com/enyo/dropzone/archive/v5.9.3.zip
Extract that zip file, rename the extracted directory to dropzone
and place it in the web/libraries/
directory.
Visit github and download https://github.com/enyo/dropzone/releases/download/v5.9.3/dist.zip
Extract the zip file and place the dist
folder in the web/libraries/dropzone/
directory.
We did not use (we removed) the following from our composer.json file, which we were asked to add when we started the process
"extra": {
"merge-plugin": {
"include": [
"web/modules/contrib/dropzonejs/composer.libraries.json"
]
}
}
No other customizations related to dropzone nor enyo were added to our composer.json file.
Run composer update
and we no longer saw errors.
When we headed on over to the /admin/modules
path of our website, we were able to install the modules we wanted and no longer saw the error asking for the dropzone.min.js
file.