After a composer update from project folder , while trying to update from browser with update.php:

Requirements problem

Error Dropzone library missing
Dropzonejs requires the dropzone.min.js library. Download it (https://github.com/enyo/dropzone) and place it in the libraries folder (/libraries)

CommentFileSizeAuthor
#3 composer.json_.txt3.72 KBzet
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zet created an issue. See original summary.

daniel.bosen’s picture

Status: Active » Closed (works as designed)

Composer downloads the required frontend libraries with bower, you need to install node for this to work. See installation instructions and requirements here: https://github.com/BurdaMagazinOrg/thunder-project

zet’s picture

FileSize
3.72 KB

Thank you Daniel for your clarification. It was my first time installing thunder. I figured it out by myself in the mean time before your answer, but I was mostly AFK to report back. Since I'm new to nodejs, bower and even to composer, I also wanted to ask if you could be so kind to explain about the reason and logic behind using nodejs and bower, instead of just composer, to download external libraries.
Also, the need of bower is not mentioned on your documentation. I just figured it out from the code.
I first tried to install thunder on a reseller hosting account, which is almost the same as a normal shared hosting account.
I hardly managed to install, from source, an older version of nodejs to that specific hosting account, even if the hosting provider said is not possible on shared accounts and I have to get a VPS. With this setup I was able indeed to install thunder with the external libraries installed too.
But before installing nodejs there, I managed to get the external libraries needed with just with the composer file which I have attached here.
What else is done by node.js and why is it really needed ?

zet’s picture

Category: Bug report » Support request
Priority: Normal » Minor
Status: Closed (works as designed) » Active
Issue tags: +external libraries, +nodejs, +bower
daniel.bosen’s picture

This would mean, that everybody who is requiring thund would have to add the repositories to its composer.json, and when we add a new requirement, everybody would have to add the new repositories as well.
We are investigating asset-packagist right now, which will solve this problem, but there are some problems left with this approach that have to be resolved before we can use it.
Btw. the linked installation instructions do contain the information, that node is required! https://github.com/BurdaMagazinOrg/thunder-project/blob/8.x/README.md

andor.koza’s picture

Hi,

I also experimenting with Tunder.
If you agree it will be a little more helpful if we put the exact path to the status message if the Dropzone library is missing:

now it sais: "and place it in the libraries folder (/libraries)"

but its looking for: "/libraries/dropzone/dist/min/dropzone.min.js"

so I suggest to replace with this: "and place it in the libraries folder (/libraries/dropzone/dist/min/dropzone.min.js)"
just to be more easier..

daniel.bosen’s picture

@andor.koza, this text is part of the slick module, we cannot change that. Please file the request in the issue queue of the slick module: Dropzone Issues

tormi’s picture

Title: Requirements problem: Dropzone library missing Dropzonejs requires the dropzone.min.js library. Download it (https://github.com/enyo/dropzone) and place it in the libraries folder (/libraries) » Requirements problem: Dropzone library missing

Shortened title to enable referencing in other issues.

chr.fritsch’s picture

Status: Active » Closed (works as designed)
ashique12009’s picture

#6 Works for me! Thanks.

ugintl’s picture

#6 Saved my day