{"action":"closed","issue":{"url":"https://api.github.com/repos/trailsjs/generator-trails/issues/18","labels_url":"https://api.github.com/repos/trailsjs/generator-trails/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/trailsjs/generator-trails/issues/18/comments","events_url":"https://api.github.com/repos/trailsjs/generator-trails/issues/18/events","html_url":"https://github.com/trailsjs/generator-trails/issues/18","id":124614312,"number":18,"title":"Error: Cannot find module 'yeoman-generator/node_modules/path-exists'","user":{"login":"konstantinzolotarev","id":286431,"avatar_url":"https://avatars.githubusercontent.com/u/286431?v=3","gravatar_id":"","url":"https://api.github.com/users/konstantinzolotarev","html_url":"https://github.com/konstantinzolotarev","followers_url":"https://api.github.com/users/konstantinzolotarev/followers","following_url":"https://api.github.com/users/konstantinzolotarev/following{/other_user}","gists_url":"https://api.github.com/users/konstantinzolotarev/gists{/gist_id}","starred_url":"https://api.github.com/users/konstantinzolotarev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konstantinzolotarev/subscriptions","organizations_url":"https://api.github.com/users/konstantinzolotarev/orgs","repos_url":"https://api.github.com/users/konstantinzolotarev/repos","events_url":"https://api.github.com/users/konstantinzolotarev/events{/privacy}","received_events_url":"https://api.github.com/users/konstantinzolotarev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/trailsjs/generator-trails/labels/bug","name":"bug","color":"800000"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-02T22:11:54Z","updated_at":"2016-01-08T22:10:57Z","closed_at":"2016-01-08T22:10:57Z","body":"Copied from trailsjs/trails#53. Thank you @muxahuk\r\ntrying generate controller gives the same error:\r\n```\r\nC:\\Users\\M7\\trails-demo2>yo trails:controller Main\r\nmodule.js:328\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'yeoman-generator/node_modules/path-exists'\r\n    at Function.Module._resolveFilename (module.js:326:15)\r\n    at Function.Module._load (module.js:277:25)\r\n    at Module.require (module.js:354:17)\r\n    at require (internal/module.js:12:17)\r\n    at Object.<anonymous> (C:\\Users\\M7\\AppData\\Roaming\\npm\\node_modules\\generator-trails\\generators\\app\\util.js:13:46)\r\n    at Module._compile (module.js:398:26)\r\n    at Object.Module._extensions..js (module.js:405:10)\r\n    at Module.load (module.js:344:32)\r\n    at Function.Module._load (module.js:301:12)\r\n    at Module.require (module.js:354:17)\r\n    at require (internal/module.js:12:17)\r\n```"}}