linemanjs / lineman

Lineman helps you build fat-client JavaScript apps. It produces happiness by building assets, mocking servers, running specs on every file change
MIT License
1.18k stars 83 forks source link

Cannot install lineman on win8.1. Several errors #348

Closed kamilrak closed 9 years ago

kamilrak commented 9 years ago

I have a problem installing lineman on win 8.1. Once I've python 2.7.9 installed on my pc I got:

I've read on stackoverflow I should install visual studio (is it correct?), but the idea to install 8GB App in order to get rid off error sound funny... Anyway I did this and got:

and so on. Npm -v -> 1.4.28 node -v ->0.10.36

I've tried with insallation of nodejs for both x86 and x64 OS.

searls commented 9 years ago

Hi, sorry to hear you're having issues. Unfortunately, none of this gives me a sense of what needs to be done to resolve your issue. I'd be down to debugging and googling as well … :/

jayharris commented 9 years ago

This isn't an issue with Lineman, but instead is an issue with your Node configuration.

Many Node modules rely on addons that need to be compiled. Web Socket clients and Crypto tools are example addons that are also used within third-party libraries that Lineman depends on. All addons within Node are all compiled with node-gyp, which is where your Python installation comes in to play and where your issues are occurring.

I recommend checking out the node-gyp page for more information on its Windows requirements. Also, one of the base libraries that uses node-gyp is ws. When your configuration is functioning properly, you should be able to successfully run npm install ws.