jfcere / ngx-malihu-scrollbar

Angular 2+ scrollbar customization using Malihu jQuery Custom Scrollbar plugin
https://jfcere.github.io/ngx-malihu-scrollbar
MIT License
58 stars 17 forks source link

Unable to install package through npm (using github link) #68

Open baklo opened 3 years ago

baklo commented 3 years ago

Hello,

I tried adding the package from branch update-angular-10 to the project I'm working on by providing a github link in npm, but I'm receiving the following error:

npm ERR! code ENOLOCAL
npm ERR! Could not install from "node_modules\ngx-malihu-scrollbar\lib" as it does not contain a package.json file.

I tried various syntaxes (npm install user/package#branch, npm install github:user/package#branch) or adding dependencies in package.json with these paths but the outcome is the same. I don't have this problem when installing some other packages from github - for example the branch angular2-moment from the package ngx-moment works just fine.

Is this a problem with this repo, or is my configuration somehow broken?

I also tried deleting the previous version of the package from node_modules and cleaned/verified cache.

Regards, baklo