[Pkg-javascript-devel] Bug#794890: Bug#794890: npm: new upstream version

Paolo Greppi paolo.greppi at libpf.com
Wed Nov 23 15:02:33 UTC 2016


OK whereas if you have no locally installed soso, it will pick the
system node-soso.

I don't know much of the ruby world.

But that looks like the same as you get in python, when you pass the
--system-site-packages option to virtualenv.

By default virtualenv is completely isolated from the global site-packages.

Paolo

On 23/11/2016 15:52, Jérémy Lal wrote:
> 2016-11-23 15:45 GMT+01:00 Paolo Greppi <paolo.greppi at libpf.com>:
>> On 23/11/2016 14:57, Jonas Smedegaard wrote:
>>> Npm is an *alternative* to using Debian packaged nodejs code.
>>>
>>> Users of Debian cannot tell anything about how same or similar tasks
>>> could be solved using Debian, because they evidently stopped trying.
>> Jonas,
>>
>> I beg to slightly differ on the point below.
>>
>> I think of npm or yarn/yarnpkg as the equivalent for the nodejs
>> ecosystem of python virtualenv. There are workflows where you'd want to
>> maintain a certain configuration of a webapp, phonegap app or website
>> using a local set of modules / pinned versions.
>>
>> Getting npm / yarn into Debian is a high priority task to expand the
>> Debian user base.
>> If we have those, from there on all the web developers of the world can
>> run npm without the -g option and maintain their projects as they like,
>> possibly using a mixture of globally installed binaries and locally
>> installed modules.
>>
>> Paolo
> 
> Ha right, about that:
> currently (for fear we would make a big mess) if you install
> debian package node-soso and then in a project you do
> `npm install soso`
> it *will* pull soso module from npmjs repository.
> 
> Any other behavior should be provided by a package
> npm-integration (like rubygems-integration).
> 
> Jérémy
> 
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20161123/0dc1edcd/attachment-0001.sig>


More information about the Pkg-javascript-devel mailing list