{"action":"created","issue":{"url":"https://api.github.com/repos/krakenjs/generator-swaggerize/issues/73","repository_url":"https://api.github.com/repos/krakenjs/generator-swaggerize","labels_url":"https://api.github.com/repos/krakenjs/generator-swaggerize/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/krakenjs/generator-swaggerize/issues/73/comments","events_url":"https://api.github.com/repos/krakenjs/generator-swaggerize/issues/73/events","html_url":"https://github.com/krakenjs/generator-swaggerize/issues/73","id":133879382,"number":73,"title":"ReferenceError: properties is not defined","user":{"login":"fullstackwebdev","id":10137946,"avatar_url":"https://avatars.githubusercontent.com/u/10137946?v=3","gravatar_id":"","url":"https://api.github.com/users/fullstackwebdev","html_url":"https://github.com/fullstackwebdev","followers_url":"https://api.github.com/users/fullstackwebdev/followers","following_url":"https://api.github.com/users/fullstackwebdev/following{/other_user}","gists_url":"https://api.github.com/users/fullstackwebdev/gists{/gist_id}","starred_url":"https://api.github.com/users/fullstackwebdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fullstackwebdev/subscriptions","organizations_url":"https://api.github.com/users/fullstackwebdev/orgs","repos_url":"https://api.github.com/users/fullstackwebdev/repos","events_url":"https://api.github.com/users/fullstackwebdev/events{/privacy}","received_events_url":"https://api.github.com/users/fullstackwebdev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-16T03:57:50Z","updated_at":"2016-06-01T21:53:18Z","closed_at":null,"body":"running\r\n```\r\nyo swaggerize --framework hapi --apiPath ./petstore-simple.json\r\n```\r\n\r\non the petstore-simple.json interface (https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v2.0/json/petstore-simple.json)\r\n\r\ndoes not run on my local machine, or other servers I tried.\r\n\r\nI get a lodash error \r\n```\r\nundefined:11\r\n_.forEach(Object.keys(properties), function (prop) {;\r\n                      ^\r\n\r\nReferenceError: properties is not defined\r\n```\r\n\r\nUpgrading lodash to version 3 doesn't fix this -- nor does updating the package Yeoman Generator to latest (0.22.5). ( I thought that might help..)\r\n\r\nStrange?\r\n\r\n\r\n\r\n```\r\n➜  b5 wget https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v2.0/json/petstore-simple.json\r\n--2016-02-15 19:54:28--  https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v2.0/json/petstore-simple.json\r\nResolving raw.githubusercontent.com (raw.githubusercontent.com)... 23.235.47.133\r\nConnecting to raw.githubusercontent.com (raw.githubusercontent.com)|23.235.47.133|:443... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: 5189 (5.1K) [text/plain]\r\nSaving to: 'petstore-simple.json'\r\n\r\n100%[=========================================================================================================================>] 5,189       --.-K/s   in 0s      \r\n\r\n2016-02-15 19:54:28 (933 MB/s) - 'petstore-simple.json' saved [5189/5189]\r\n\r\n➜  b5 yo swaggerize --framework hapi --apiPath ./petstore-simple.json                                                \r\nSwaggerize Generator\r\n? What would you like to call this project: b5\r\n? Your name: \r\n? Your github user name: \r\n? Your email: \r\n? Path (or URL) to swagger document: /home/fullstack/b5/petstore-simple.json\r\n? Express, Hapi or Restify: hapi\r\nidentical .jshintrc\r\nidentical .gitignore\r\nidentical .npmignore\r\n   create server.js\r\n   create package.json\r\n   create README.md\r\n   create config/petstore-simple.json\r\n   create handlers/pets.js\r\n   create handlers/pets/{id}.js\r\nundefined:11\r\n_.forEach(Object.keys(properties), function (prop) {;\r\n                      ^\r\n\r\nReferenceError: properties is not defined\r\n    at eval (eval at template (/home/fullstack/node_modules/lodash/dist/lodash.js:6306:22), <anonymous>:11:23)\r\n    at underscore [as _engine] (/home/fullstack/node_modules/yeoman-generator/lib/util/engines.js:32:30)\r\n    at engine (/home/fullstack/node_modules/yeoman-generator/lib/actions/actions.js:303:10)\r\n    at template (/home/fullstack/node_modules/yeoman-generator/lib/actions/actions.js:281:15)\r\n    at /home/fullstack/node_modules/generator-swaggerize/app/index.js:287:18\r\n    at Array.forEach (native)\r\n    at yeoman.generators.Base.extend.models (/home/fullstack/node_modules/generator-swaggerize/app/index.js:276:49)\r\n    at /home/fullstack/node_modules/yeoman-generator/lib/base.js:341:43\r\n    at /home/fullstack/node_modules/yeoman-generator/node_modules/async/lib/async.js:551:21\r\n    at /home/fullstack/node_modules/yeoman-generator/node_modules/async/lib/async.js:227:13\r\n➜  b5 \r\n```"},"comment":{"url":"https://api.github.com/repos/krakenjs/generator-swaggerize/issues/comments/223136419","html_url":"https://github.com/krakenjs/generator-swaggerize/issues/73#issuecomment-223136419","issue_url":"https://api.github.com/repos/krakenjs/generator-swaggerize/issues/73","id":223136419,"user":{"login":"subeeshcbabu","id":1707119,"avatar_url":"https://avatars.githubusercontent.com/u/1707119?v=3","gravatar_id":"","url":"https://api.github.com/users/subeeshcbabu","html_url":"https://github.com/subeeshcbabu","followers_url":"https://api.github.com/users/subeeshcbabu/followers","following_url":"https://api.github.com/users/subeeshcbabu/following{/other_user}","gists_url":"https://api.github.com/users/subeeshcbabu/gists{/gist_id}","starred_url":"https://api.github.com/users/subeeshcbabu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subeeshcbabu/subscriptions","organizations_url":"https://api.github.com/users/subeeshcbabu/orgs","repos_url":"https://api.github.com/users/subeeshcbabu/repos","events_url":"https://api.github.com/users/subeeshcbabu/events{/privacy}","received_events_url":"https://api.github.com/users/subeeshcbabu/received_events","type":"User","site_admin":false},"created_at":"2016-06-01T21:53:18Z","updated_at":"2016-06-01T21:53:18Z","body":"@Kitanotori - Can you share the version of the generator and the api file?"}}
{"actor":{"display_login":"subeeshcbabu"}}