[Pkg-javascript-devel] Bug#960284: Bug#960284: npm tries to use git, but git is not listed in dependencies

Nikolay Shaplov dhyan at nataraj.su
Mon May 11 16:07:20 BST 2020


В письме от понедельник, 11 мая 2020 г. 16:40:31 MSK пользователь Jérémy Lal 
написал:
> > I am following some HOWTO guide and run
> > 
> > # npm install matrix-appservice-irc --global
> > 
> > and it fails because git is missing
> > 
> > ../..
> > 
> > I guess getting sources using git is a normal way for npm.
> 
> No, it isn't. Normal way is npm packages.
I actually know nothing about npm internals, but from what I can see from the 
outside, I would not agree with you.

I did not provided npm with any kind of git:// url. I just gave a name matrix-
appservice-irc and npm somehow came to an idea of fetching something using 
git. If it is its idea, not mine, I guess it should provide itself with all 
necessary means by itself. For me it should work like that: I install it, I 
give it a name, it fetches. That is user experience I would expect.

Thats how I see it as an experienced debian user that has no knowledge about 
npm internals.



More information about the Pkg-javascript-devel mailing list