-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error installing aglio on windows7 #201
Comments
@ducin I was able to get past this using VS 2015. I did, however, have to start a new C++ project so that the appropriate tools were installed. You can see more about this in |
@JayKwon thx for your input. The problem is, however, that I don't have VS and I'm not going to have it. In fact, it's the corporate institution I'm working for - they won't decide to buy MSVS only to get aglio up and running. As far as I understand, aglio requires some API-blueprint component that needs to be compiled. Maybe there's an alternative compiler for windows that is not VS-dependent? Or maybe it could be just .exe or .msi instaled somehow? |
@ducin really sorry to hear you are having issues. Please have a look at the new experimental pure Javascript version of Drafter: https://github.com/apiaryio/drafter#drafterjs That could be used instead of Protagonist in Aglio to parse the blueprints, which in turn means no more C++ to compile. In the future I hope to provide it as a fallback for those environments where compiling is difficult or impossible, but today you'll have to try and use it manually. |
I'm also having the same problem with Windows installation. Could you provide step by step instructions how we can replace Protagonist with Drafter. Many Thanks! |
@swamikevala I'm working on integrating it into Aglio over the next few weeks, so hopefully this should become a non-issue shortly. |
It turns out this is a bit more complicated than I originally envisioned. The newer Drafter and Drafter.js generate their own JSON schemas that don't support all the features that the internal generator in Aglio does, and there is no way to tell when a schema is user-supplied or generated by Drafter unless I use source maps and Refract output. That requires changing all of Aglio over to the new Refract interface, which I started to do but will take a pretty significant effort. So my choices are to continue on that front, or lose some support for JSON example and schema generation from MSON input. Both are not ideal unfortunately... |
I have same issue on OSX 10.11, npm 3.5.2, node 5.3.0 I have reported in patagonist issue tracker, but it seems they have this issue since April 2014 - ALMOST 2 YEARS! Looks that they are not going to fix it or they simply don't know how. |
I have the same issue on OSX 10.11, npm v2.14.9 and node v0.12.9. :-S. |
@wuotr they have just released protagonist 1.2.5 which fixed bug on my system and aglio works like a sharm at this moment. |
Indeed... it is fixed on my system as well ;-). /cc @pavelkornev |
How about windows users? Did anyone manage to make aglio up and running on any version of windows? |
Still broken for me on two different Windows 7 machines with node v4.4.0, npm 3.8.0, and protagonist 1.2.6 Help! Any ideas on a solution? |
FYI, I found a solution. See HERE. I'd already done most of the steps, but slightly differently. I installed standard python from python.org, then installed Visual Studio 2015 Community, then added Visual C++ support from within VS2015 via File -> New -> Project, then I think the key step is #5 ... "Set the npm config variable msvs_version to 2015: After this, aglio installed successfully, although I did get one warning as follows...
|
Any hope for removing the protagonist (and thus the node-gyp) dependency? This has been a real deal breaker for us unfortunately. |
Hello All,
Although being a linux fan, my company's requirement is to work under windows. I'm trying to install agliounder windows and I'm failing with it:
I can see that agliois trying to use something like MSBUILD, which - as I found in www - is related to MS Visual Studio. My questions are:
The text was updated successfully, but these errors were encountered: