{"action":"created","issue":{"url":"https://api.github.com/repos/mediapolis/digitopia-example/issues/2","repository_url":"https://api.github.com/repos/mediapolis/digitopia-example","labels_url":"https://api.github.com/repos/mediapolis/digitopia-example/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mediapolis/digitopia-example/issues/2/comments","events_url":"https://api.github.com/repos/mediapolis/digitopia-example/issues/2/events","html_url":"https://github.com/mediapolis/digitopia-example/issues/2","id":153138251,"number":2,"title":"i18n causing problems","user":{"login":"msimonc","id":2308694,"avatar_url":"https://avatars.githubusercontent.com/u/2308694?v=3","gravatar_id":"","url":"https://api.github.com/users/msimonc","html_url":"https://github.com/msimonc","followers_url":"https://api.github.com/users/msimonc/followers","following_url":"https://api.github.com/users/msimonc/following{/other_user}","gists_url":"https://api.github.com/users/msimonc/gists{/gist_id}","starred_url":"https://api.github.com/users/msimonc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msimonc/subscriptions","organizations_url":"https://api.github.com/users/msimonc/orgs","repos_url":"https://api.github.com/users/msimonc/repos","events_url":"https://api.github.com/users/msimonc/events{/privacy}","received_events_url":"https://api.github.com/users/msimonc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-04T23:24:21Z","updated_at":"2016-05-06T21:10:03Z","closed_at":null,"body":"If I comment out server.js lines 19-31\r\nit runs, but if I don't I get:\r\n\r\n$ ./localdev.sh node .\r\nfs.js:1236\r\n    throw error;\r\n    ^\r\nError: watch ./locales ENOENT\r\n    at exports._errnoException (util.js:870:11)\r\n    at FSWatcher.start (fs.js:1234:19)\r\n    at Object.fs.watch (fs.js:1262:11)\r\n    at Object.fallback (/ProjectSamples/STRONGLOOP/digitopia-example/node_modules/loopback/node_modules/continuation-local-storage/node_modules/async-listener/index.js:450:15)\r\n    at Object.watch (/ProjectSamples/STRONGLOOP/digitopia-example/node_modules/loopback/node_modules/continuation-local-storage/node_modules/async-listener/index.js:456:53)\r\n    at Object.i18nConfigure [as configure] (/ProjectSamples/STRONGLOOP/digitopia-example/node_modules/i18n/i18n.js:164:12)\r\n    at Object.<anonymous> (/ProjectSamples/STRONGLOOP/digitopia-example/server/server.js:19:6)\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)"},"comment":{"url":"https://api.github.com/repos/mediapolis/digitopia-example/issues/comments/217559225","html_url":"https://github.com/mediapolis/digitopia-example/issues/2#issuecomment-217559225","issue_url":"https://api.github.com/repos/mediapolis/digitopia-example/issues/2","id":217559225,"user":{"login":"Zvika88","id":6226058,"avatar_url":"https://avatars.githubusercontent.com/u/6226058?v=3","gravatar_id":"","url":"https://api.github.com/users/Zvika88","html_url":"https://github.com/Zvika88","followers_url":"https://api.github.com/users/Zvika88/followers","following_url":"https://api.github.com/users/Zvika88/following{/other_user}","gists_url":"https://api.github.com/users/Zvika88/gists{/gist_id}","starred_url":"https://api.github.com/users/Zvika88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zvika88/subscriptions","organizations_url":"https://api.github.com/users/Zvika88/orgs","repos_url":"https://api.github.com/users/Zvika88/repos","events_url":"https://api.github.com/users/Zvika88/events{/privacy}","received_events_url":"https://api.github.com/users/Zvika88/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T21:10:03Z","updated_at":"2016-05-06T21:10:03Z","body":"try adding a root folder \"./locales\" , it is needed for i18n . \r\n"}}