-
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: Module version mismatch. Expected 46, got 14. #183
Comments
@ye we are working on pushing a new release shortly that will support 3.x and 4.x. The fix (upgrading the |
@danielgtaylor thanks for the update! |
Protagonist has pushed 1.1.1 which compiles on node 4. What's the ETA for the next aglio release? |
@artlogic I'm working on it today, just had to get Protagonist 1.1.1 out first to fix a bug! 😄 |
@danielgtaylor thanks for the update! |
@ye, @artlogic version 2.2.0 is now released which supports Node.js 3.x and 4.x. Please note, it works with the new Protagonist, which itself is based on the new Drafter that does not yet generate JSON Schema from MSON and may contain some other MSON-related bugs. We are hard at work fixing them in upcoming backward-compatible releases! |
@danielgtaylor thanks for all your hard work on this! |
I agree, thanks! |
@danielgtaylor one more thing - where would I be able to find information about the timeline for supporting MSON in protagonist? Is there a list of blocking issues? |
@danielgtaylor thank you! All works now. $ aglio -v
aglio 2.2.0
olio 1.2.1
$ node -v
v4.2.1
$ npm -v
3.3.9
$ aglio -i v1.apib -o v1.html
>> Line 15: action with method 'PUT' already defined for resource '/user/{id}' (warning code 2)
>> Line 27: action with method 'PUT' already defined for resource '/user/{id}' (warning code 2)
>> Line 56: action with method 'PUT' already defined for resource '/user/{id}' (warning code 2)
$ |
@artlogic Protagonist is a wrapper around the Drafter C++ library so you can look into there for a list of known issues. We have a 2.0.0 milestone which shows all of the known issues we are working though. After that our intention is to work on JSON Schema support inside Drafter. As for a timeline, we unfortunately don't have any dates we can share at the moment. But these are the things we are working on. |
@kylef thanks for taking the time to give a status update. I appreciate it. |
Looks like |
@ye I've been using Node.js 5.0.0 since yesterday with Aglio and it is working fine for me. I just had to reinstall Aglio because of the compiled dependencies (same issue everytime you switch major versions). What specifically is the problem you are seeing? |
@danielgtaylor you are absolutely correct that unistall / reinstall worked! Thank you! |
Using Node.js 5.0.0, uninstall/reinstall did not work for me. Still getting: |
@coderdave make sure you are uninstalling/installing in the right location (e.g. with |
Reinstalling it globally seemed to work. Thanks. |
It seems that Aglio is not compatible with the latest node.js due its dependency lib
protagonist
anddrafter
are not compatible with the latest version of node.Got this after upgrading node.js to
4.2.1
The text was updated successfully, but these errors were encountered: