Works for me: https://gist.github.com/4986672

On Tue, Feb 19, 2013 at 3:41 AM, Berger Kennedy FOTSO
<fober...@gmail.com> wrote:
> You are missing the lib folder.
>
> Le 19 févr. 2013 12:11, "Santiago Lezica" <slezic...@gmail.com> a écrit :
>
>> I built a small package to try uploading to the npm registry. When I
>> install it back, however, it's missing the lib folder.
>>
>> This is the (summarized) `package.json`:
>>
>>
>>
>> {
>>   # author, name, description, version, repository
>>
>>   "files": ["bin", "src", "lib", "Makefile"],
>>
>>   "main": "./lib/foo.js",
>>
>>   "bin": {
>>     "foo": "./bin/foo"
>>   },
>>
>>   # dependencies, engines
>> }
>>
>>
>> When I issue npm pack, the resulting tar file contains the lib folder as
>> expected.
>> However, when after publishing I run`npm install -g, the package installed
>> to `/usr/lib/node_modules is missing the lib folder. All other files are
>> there.
>>
>> What am I missing?
>>
>> --
>> --
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines:
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to nodejs@googlegroups.com
>> To unsubscribe from this group, send email to
>> nodejs+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "nodejs" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to nodejs+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nodejs+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to