Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Is it legit to distribute binaries via npm?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Isaac Schlueter  
View profile  
 More options May 6 2012, 1:42 pm
From: Isaac Schlueter <i...@izs.me>
Date: Sun, 6 May 2012 10:42:42 -0700
Local: Sun, May 6 2012 1:42 pm
Subject: Re: [nodejs] Re: Is it legit to distribute binaries via npm?

On Sun, May 6, 2012 at 9:57 AM, Glenn Block <glenn.bl...@gmail.com> wrote:
> Will a node-gyp binding allow deploying just a binary? Or will it still
> require the binary to be built locally?

> We have the node-sqlserver driver we are developing, initially only for
> Windows. The current plan was to include the binary so as not to
> require vs / express installed.

For the time being, it will still require builds to be done on the
install target.  However, the plan is to pre-build them ahead of time.
 That will probably land some time this year, and will only be done
for packages being built with the default node-gyp approach.

To be future-proofed to take advantage of this feature, use node-gyp
now; don't bundle binaries or fetch them from somewhere else or do
other custom stuff.  If there's some reason it won't work for you,
now's the time to let us know.

On Sun, May 6, 2012 at 1:58 AM, Marcel Laverdet <mar...@laverdet.com> wrote:
> For several hundred meg libraries the answer is much less obvious.. But even
> with a sophisticated or integrated build system, you still can't make
> assumptions about their environment? I think Node developers on Windows
> without a compiler even installed are quite common. Does node-gyp solve
> that?

Until pre-built binaries are available, it requires that the user have
a compiler on their system.  MSVS Express is free and easy to install.
 I don't think node-gyp installs it automatically, but I believe the
error message is fairly helpful.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »