> maybe you need to run npm install from Visual Studio Command Prompt No, just doing `npm install serialport` worked once I had VS and Python installed.
On Mon, Jan 6, 2014 at 2:00 PM, Angel Java Lopez <[email protected]>wrote: > I can't remember, but maybe you need to run npm install from Visual Studio > Command Prompt.... not sure > > > On Mon, Jan 6, 2014 at 6:39 PM, Mark Hahn <[email protected]> wrote: > >> BTW, by researching the node-gyp docs I see that visual studio and python >> need to be installed for any windows node-gyp build. I didn't realize >> this. I have installed many binary modules but only on linux. Live and >> learn. >> >> >> On Mon, Jan 6, 2014 at 1:30 PM, Rick Waldron <[email protected]>wrote: >> >>> >>> >>> >>> On Mon, Jan 6, 2014 at 4:15 PM, Mark Hahn <[email protected]> wrote: >>> >>>> > What is the problem with using extensions that have native bindings >>>> that must be compiled when they are installed? >>>> >>>> The instructions directed me to install visual studio which led me to >>>> believe that I had to compile from source. >>>> >>> >>> No, this is to make the necessary compiler available on your machine, no >>> different from `sudo apt-get install build-essential` on linux or >>> installing xcode or xcode command line tools. >>> >>> >>>> In other npm installs the compile just happened when I did npm install. >>>> I now realize that even though I need visual stdio and python 2.7 >>>> installed the process is just npm install after all. >>>> >>> >>> Correct. >>> >>> >>>> >>>> I was not trolling. I really do need serialport. I meant no >>>> disrespect. I apologize for the tone. >>>> >>> >>> Understandable and appreciated. Good luck with whatever you're creating >>> >>> Rick >>> >>> >>> >>>> >>>> >>>> >>>> On Mon, Jan 6, 2014 at 1:08 PM, Rick Waldron <[email protected]>wrote: >>>> >>>>> >>>>> >>>>> >>>>> On Mon, Jan 6, 2014 at 3:29 PM, Mark Hahn <[email protected]> wrote: >>>>> >>>>>> Is there any node module to give access to a serial port on windows >>>>>> that does not require compiling an extension? >>>>>> >>>>> >>>>> What is the problem with using extensions that have native bindings >>>>> that must be compiled when they are installed? >>>>> >>>>> It's not hard to search npm and find this: >>>>> https://github.com/technicalmachine/node-jssc, which makes me think >>>>> you just wanted to post here in order to have a go with the following >>>>> comment... >>>>> >>>>> >>>>>> >>>>>> The author of node-serialport has this weird idea that you can't >>>>>> offer a c++ extension unless the user compiles it himself. >>>>>> >>>>> >>>>> "The author" is several people that work _very_ hard to maintain a >>>>> non-trivial extension—have some respect. >>>>> >>>>> Rick >>>>> >>>>> -- >>>>> -- >>>>> 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 [email protected] >>>>> To unsubscribe from this group, send email to >>>>> [email protected] >>>>> 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 [email protected]. >>>>> 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 [email protected] >>>> To unsubscribe from this group, send email to >>>> [email protected] >>>> 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 [email protected]. >>>> 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 [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> 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 [email protected]. >>> 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 [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> 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 [email protected]. >> 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected]. > 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
