ctf0 / Laravel-Media-Manager

A "Vuejs & Laravel" Media Manager With Tons of Features
MIT License
832 stars 181 forks source link

[BUG] dropzone dependency was not found #137

Closed boutzamat closed 4 years ago

boutzamat commented 4 years ago

What version of Laravel are you using? (nothing lower than v5.4).

6.12

is it an issue related to installation or usage ?

Installation

what is the error you are getting ?

The dependency was not found:

Extra Info "attaching a screen shot would be very helpful"

... image

Do You Know A Solution For this Issue ?

The CLI says i can install it by running: npm install --save dropzone, which i already did but the error remains. I checked the node_modules folder and dropzone does exist in there.

I followed every step in the documentation, but instead of yarn i use npm. I did use this command to download the packages: npm install vue vue-ls vue-infinite-loading vue-image-compare2 vue-tippy@v1 vue2-filters vue-input-autowidth vue-notif vue-clipboard2 vue-awesome@v2 vue-touch@next vue-focuspoint-component axios dropzone cropperjs keycode lottie-web plyr fuse.js music-metadata-browser --save

boutzamat commented 4 years ago

I just tried installing it on a fresh installation using yarn, as i suspected that it might be NPM that was causing the issue, but the problem remains the same.

ctf0 commented 4 years ago

can u make a repo for me to repro ?

boutzamat commented 4 years ago

Yes ofcourse. Should i just create a Git Repo with the project for you to install?

It happens with a fresh install, so you should encounter the issue if you try to install it on a fresh Laravel installation following your installation guide.

If you still want to, i can push my fresh installation to a new Git Repo.

ctf0 commented 4 years ago

If you still want to, i can push my fresh installation to a new Git Repo.

that would be great

boutzamat commented 4 years ago

Gotcha. Here's a link for the repo: https://github.com/boutzamat/Media-Manager-Sandbox

ctf0 commented 4 years ago

link is 404

boutzamat commented 4 years ago

Sorry it was set to a private repository. It should be public now

ctf0 commented 4 years ago

i managed to fix it with updating the deps in package.json

demo

boutzamat commented 4 years ago

Thanks alot for taking time to look at it and providing the fix.

Are you going to patch it or should I just manually apply the fix?

Thanks again !

ctf0 commented 4 years ago

actually the issue was related to dropzone installed version, as u can see in

yarn add vue vue-ls vue-infinite-loading vue-image-compare2 vue-tippy@v1 vue2-filters vue-input-autowidth vue-notif vue-clipboard2 vue-awesome@v2 vue-touch@next vue-focuspoint-component axios dropzone cropperjs keycode lottie-web plyr fuse.js music-metadata-browser idb-keyval

we dont require specific version for dropzone, so this was more of try & error solution 😄