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.
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:I tried various syntaxes (
npm install user/package#branch
,npm install github:user/package#branch
) or adding dependencies inpackage.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 branchangular2-moment
from the packagengx-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