{"action":"created","issue":{"url":"https://api.github.com/repos/ForestAdmin/forest-express-mongoose/issues/113","repository_url":"https://api.github.com/repos/ForestAdmin/forest-express-mongoose","labels_url":"https://api.github.com/repos/ForestAdmin/forest-express-mongoose/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/ForestAdmin/forest-express-mongoose/issues/113/comments","events_url":"https://api.github.com/repos/ForestAdmin/forest-express-mongoose/issues/113/events","html_url":"https://github.com/ForestAdmin/forest-express-mongoose/issues/113","id":356566456,"node_id":"MDU6SXNzdWUzNTY1NjY0NTY=","number":113,"title":"Running into RangeOverflow Error when setting up the liana","user":{"login":"roopakv","id":678239,"node_id":"MDQ6VXNlcjY3ODIzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/678239?v=4","gravatar_id":"","url":"https://api.github.com/users/roopakv","html_url":"https://github.com/roopakv","followers_url":"https://api.github.com/users/roopakv/followers","following_url":"https://api.github.com/users/roopakv/following{/other_user}","gists_url":"https://api.github.com/users/roopakv/gists{/gist_id}","starred_url":"https://api.github.com/users/roopakv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roopakv/subscriptions","organizations_url":"https://api.github.com/users/roopakv/orgs","repos_url":"https://api.github.com/users/roopakv/repos","events_url":"https://api.github.com/users/roopakv/events{/privacy}","received_events_url":"https://api.github.com/users/roopakv/received_events","type":"User","site_admin":false},"labels":[{"id":219961434,"node_id":"MDU6TGFiZWwyMTk5NjE0MzQ=","url":"https://api.github.com/repos/ForestAdmin/forest-express-mongoose/labels/bug","name":"bug","color":"F44336","default":true}],"state":"open","locked":false,"assignee":{"login":"ArnaudValensi","id":604486,"node_id":"MDQ6VXNlcjYwNDQ4Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/604486?v=4","gravatar_id":"","url":"https://api.github.com/users/ArnaudValensi","html_url":"https://github.com/ArnaudValensi","followers_url":"https://api.github.com/users/ArnaudValensi/followers","following_url":"https://api.github.com/users/ArnaudValensi/following{/other_user}","gists_url":"https://api.github.com/users/ArnaudValensi/gists{/gist_id}","starred_url":"https://api.github.com/users/ArnaudValensi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArnaudValensi/subscriptions","organizations_url":"https://api.github.com/users/ArnaudValensi/orgs","repos_url":"https://api.github.com/users/ArnaudValensi/repos","events_url":"https://api.github.com/users/ArnaudValensi/events{/privacy}","received_events_url":"https://api.github.com/users/ArnaudValensi/received_events","type":"User","site_admin":false},"assignees":[{"login":"ArnaudValensi","id":604486,"node_id":"MDQ6VXNlcjYwNDQ4Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/604486?v=4","gravatar_id":"","url":"https://api.github.com/users/ArnaudValensi","html_url":"https://github.com/ArnaudValensi","followers_url":"https://api.github.com/users/ArnaudValensi/followers","following_url":"https://api.github.com/users/ArnaudValensi/following{/other_user}","gists_url":"https://api.github.com/users/ArnaudValensi/gists{/gist_id}","starred_url":"https://api.github.com/users/ArnaudValensi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArnaudValensi/subscriptions","organizations_url":"https://api.github.com/users/ArnaudValensi/orgs","repos_url":"https://api.github.com/users/ArnaudValensi/repos","events_url":"https://api.github.com/users/ArnaudValensi/events{/privacy}","received_events_url":"https://api.github.com/users/ArnaudValensi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2018-09-03T17:05:00Z","updated_at":"2018-10-17T02:03:58Z","closed_at":null,"author_association":"NONE","body":"## Expected behavior\r\n\r\nI expect the liana to not throw errors and add the `/forest` route to my app.\r\n\r\n## Actual Behavior\r\n\r\nIt throws an error.\r\n\r\n```\r\n[forest] 🌳🌳🌳  An error occured while computing the Forest apimap. Your application apimap cannot be sent to Forest. Your Admin UI might not reflect your application models.\r\nRangeError: Maximum call stack size exceeded\r\n    at /Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:70:39\r\n    at Array.forEach (<anonymous>)\r\n    at unflatten (/Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:70:23)\r\n    at /Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:98:23\r\n    at Array.forEach (<anonymous>)\r\n    at unflatten (/Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:70:23)\r\n    at /Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:98:23\r\n    at Array.forEach (<anonymous>)\r\n    at unflatten (/Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:70:23)\r\n    at /Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:98:23\r\n    at Array.forEach (<anonymous>)\r\n    at unflatten (/Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:70:23)\r\n    at /Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:98:23\r\n    at Array.forEach (<anonymous>)\r\n    at unflatten (/Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:70:23)\r\n    at /Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:98:23\r\n    at Array.forEach (<anonymous>)\r\n    at unflatten (/Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:70:23)\r\n    at /Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:98:23\r\n    at Array.forEach (<anonymous>)\r\n    at unflatten (/Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:70:23)\r\n    at /Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:98:23\r\n    at Array.forEach (<anonymous>)\r\n    at unflatten (/Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:70:23)\r\n    at /Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:98:23\r\n    at Array.forEach (<anonymous>)\r\n    at unflatten (/Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:70:23)\r\n    at /Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:98:23\r\n    at Array.forEach (<anonymous>)\r\n    at unflatten (/Users/roopak/workspace/repo/node_modules/forest-express-mongoose/node_modules/flat/index.js:70:23)\r\nFrom previous event:\r\n    at Object.perform (/Users/roopak/workspace/repo/node_modules/forest-express/dist/generators/schemas.js:14:14)\r\n    at /Users/roopak/workspace/repo/node_modules/forest-express/dist/index.js:152:20\r\n    at __NR_wrappedThenHandler (/Users/roopak/workspace/repo/node_modules/newrelic/lib/instrumentation/promise.js:468:25)\r\n    at runCallback (timers.js:789:20)\r\n    at tryOnImmediate (timers.js:751:5)\r\n    at processImmediate [as _immediateCallback] (timers.js:722:5)\r\nFrom previous event:\r\n    at Promise.__NR_wrappedThen [as then] (/Users/roopak/workspace/repo/node_modules/newrelic/lib/instrumentation/promise.js:426:23)\r\n    at Object.exports.init (/Users/roopak/workspace/repo/node_modules/forest-express/dist/index.js:149:50)\r\n    at Object.exports.init (/Users/roopak/workspace/repo/node_modules/forest-express-mongoose/index.js:167:20)\r\n    at Object.<anonymous> (/Users/roopak/workspace/repo/server/web.js:30:44)\r\n    at Module._compile (module.js:635:30)\r\n    at Object.Module._extensions..js (module.js:646:10)\r\n    at Module.load (module.js:554:32)\r\n    at tryModuleLoad (module.js:497:12)\r\n    at Function.Module._load (module.js:489:3)\r\n    at Function.wrappedLoad [as _load] (/Users/roopak/workspace/repo/node_modules/newrelic/lib/shimmer.js:342:38)\r\n    at Module.require (module.js:579:17)\r\n    at require (internal/module.js:11:18)\r\n    at Object.<anonymous> (/Users/roopak/workspace/repo/index.js:25:1)\r\n    at Module._compile (module.js:635:30)\r\n    at Object.Module._extensions..js (module.js:646:10)\r\n    at Module.load (module.js:554:32)\r\n    at tryModuleLoad (module.js:497:12)\r\n    at Function.Module._load (module.js:489:3)\r\n    at Function.Module.runMain (module.js:676:10)\r\n    at startup (bootstrap_node.js:187:16)\r\n    at bootstrap_node.js:608:3\r\n```\r\n\r\n\r\n*Please provide any relevant information about your setup.*\r\n\r\n* Package Version: ^2.13.1\r\n* Express Version: ^4.15.4\r\n* Mongoose Version: ^4.11.11\r\n* MongoDB Version: 3.4\r\n"},"comment":{"url":"https://api.github.com/repos/ForestAdmin/forest-express-mongoose/issues/comments/430463121","html_url":"https://github.com/ForestAdmin/forest-express-mongoose/issues/113#issuecomment-430463121","issue_url":"https://api.github.com/repos/ForestAdmin/forest-express-mongoose/issues/113","id":430463121,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDQ2MzEyMQ==","user":{"login":"roopakv","id":678239,"node_id":"MDQ6VXNlcjY3ODIzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/678239?v=4","gravatar_id":"","url":"https://api.github.com/users/roopakv","html_url":"https://github.com/roopakv","followers_url":"https://api.github.com/users/roopakv/followers","following_url":"https://api.github.com/users/roopakv/following{/other_user}","gists_url":"https://api.github.com/users/roopakv/gists{/gist_id}","starred_url":"https://api.github.com/users/roopakv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roopakv/subscriptions","organizations_url":"https://api.github.com/users/roopakv/orgs","repos_url":"https://api.github.com/users/roopakv/repos","events_url":"https://api.github.com/users/roopakv/events{/privacy}","received_events_url":"https://api.github.com/users/roopakv/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T02:03:58Z","updated_at":"2018-10-17T02:03:58Z","author_association":"NONE","body":"Thank you for the update. it seems like 2.14.4 with mongoose 5.2.14 doesnt seem to work for us.\r\n\r\nLooking forward to see what fix you have planned"}}
{"actor":{"display_login":"roopakv"}}