npm can't find README.md

Tomas Hrcka thrcka at redhat.com
Wed Jun 19 11:49:08 UTC 2013


Hey,

On 06/19/2013 04:45 AM, T.C. Hollingsworth wrote:
> Hi Tomas!
>
> On Tue, Jun 18, 2013 at 2:21 AM, Tomas Hrcka <thrcka at redhat.com> wrote:
>> Hi,
>>
>> when tinkering with packaged nodejs I have found that 'npm list --global'
>> complains about missing README.md files[1].
>> how do we fix this? I suggest linking README file in rpm spec and rebuild of
>> all affected packages.
> I'd really rather not do that.  That symlink will dangle if
> "tsflags=nodoc" is used in yum.conf, and we really shouldn't be
> putting documentation (or even symlinks to it) in /usr/lib in Fedora
> RPMs.  Plus, once you do that, it might be confusing if README exists
> in the module directory but other documentation do not.  (At least
> when they're all missing it's consistent.)

You are right I absolutely forgot that you can disable doc in yum.conf.

>
> Instead I'd prefer to just silence this warning when `npm -g` is used
> on Fedora.  (But not without `-g`; I think this warning is useful for
> modules under development.)  Will that work for you?

Yes I think that will be ok. How do you want to do that? Carry fedora 
specific npm patch or is there option in npm config to disable it?

>
> -T.C.
> _______________________________________________
> nodejs mailing list
> nodejs at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/nodejs
-- Tomas Hrcka


More information about the nodejs mailing list