{"action":"created","issue":{"url":"https://api.github.com/repos/danielgtaylor/aglio/issues/183","labels_url":"https://api.github.com/repos/danielgtaylor/aglio/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/danielgtaylor/aglio/issues/183/comments","events_url":"https://api.github.com/repos/danielgtaylor/aglio/issues/183/events","html_url":"https://github.com/danielgtaylor/aglio/issues/183","id":112826510,"number":183,"title":"Error: Module version mismatch. Expected 46, got 14.","user":{"login":"ye","id":133924,"avatar_url":"https://avatars.githubusercontent.com/u/133924?v=3","gravatar_id":"","url":"https://api.github.com/users/ye","html_url":"https://github.com/ye","followers_url":"https://api.github.com/users/ye/followers","following_url":"https://api.github.com/users/ye/following{/other_user}","gists_url":"https://api.github.com/users/ye/gists{/gist_id}","starred_url":"https://api.github.com/users/ye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ye/subscriptions","organizations_url":"https://api.github.com/users/ye/orgs","repos_url":"https://api.github.com/users/ye/repos","events_url":"https://api.github.com/users/ye/events{/privacy}","received_events_url":"https://api.github.com/users/ye/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-10-22T15:19:32Z","updated_at":"2015-11-16T23:08:02Z","closed_at":"2015-10-26T20:07:43Z","body":"It seems that Aglio is not compatible with the latest node.js due its dependency lib `protagonist` and `drafter` are not compatible with the latest version of node.\r\n\r\n\r\nGot this after upgrading node.js to `4.2.1`\r\n\r\n```bash\r\n$ aglio -i v1.apib -o v1.html\r\nmodule.js:460\r\n  return process.dlopen(module, path._makeLong(filename));\r\n                 ^\r\n\r\nError: Module version mismatch. Expected 46, got 14.\r\n    at Error (native)\r\n    at Object.Module._extensions..node (module.js:460:18)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:311:12)\r\n    at Module.require (module.js:366:17)\r\n    at require (module.js:385:17)\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/aglio/node_modules/drafter/lib/drafter.js:5:15)\r\n    at Module._compile (module.js:435:26)\r\n    at Object.Module._extensions..js (module.js:442:10)\r\n    at Module.load (module.js:356:32)\r\n$ aglio -v\r\nmodule.js:339\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'protagonist'\r\n    at Function.Module._resolveFilename (module.js:337:15)\r\n    at Function.Module._load (module.js:287:25)\r\n    at Module.require (module.js:366:17)\r\n    at require (module.js:385:17)\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/aglio/node_modules/drafter/lib/drafter.js:5:15)\r\n    at Module._compile (module.js:435:26)\r\n    at Object.Module._extensions..js (module.js:442:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:311:12)\r\n    at Module.require (module.js:366:17)\r\n\r\n$ node -v\r\nv4.2.1\r\n$ npm -v\r\n3.3.8\r\n```"},"comment":{"url":"https://api.github.com/repos/danielgtaylor/aglio/issues/comments/157203649","html_url":"https://github.com/danielgtaylor/aglio/issues/183#issuecomment-157203649","issue_url":"https://api.github.com/repos/danielgtaylor/aglio/issues/183","id":157203649,"user":{"login":"coderdave","id":964751,"avatar_url":"https://avatars.githubusercontent.com/u/964751?v=3","gravatar_id":"","url":"https://api.github.com/users/coderdave","html_url":"https://github.com/coderdave","followers_url":"https://api.github.com/users/coderdave/followers","following_url":"https://api.github.com/users/coderdave/following{/other_user}","gists_url":"https://api.github.com/users/coderdave/gists{/gist_id}","starred_url":"https://api.github.com/users/coderdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderdave/subscriptions","organizations_url":"https://api.github.com/users/coderdave/orgs","repos_url":"https://api.github.com/users/coderdave/repos","events_url":"https://api.github.com/users/coderdave/events{/privacy}","received_events_url":"https://api.github.com/users/coderdave/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T23:08:02Z","updated_at":"2015-11-16T23:08:02Z","body":"Using Node.js 5.0.0, uninstall/reinstall did not work for me. Still getting:\r\nmodule.js:450\r\n  return process.dlopen(module, path._makeLong(filename));"}}