{"action":"created","issue":{"url":"https://api.github.com/repos/GladysProject/Gladys/issues/2","labels_url":"https://api.github.com/repos/GladysProject/Gladys/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/GladysProject/Gladys/issues/2/comments","events_url":"https://api.github.com/repos/GladysProject/Gladys/issues/2/events","html_url":"https://github.com/GladysProject/Gladys/issues/2","id":85773472,"number":2,"title":"impossible to launch (impossible de le lancer)","user":{"login":"johnnyrubin","id":4601331,"avatar_url":"https://avatars.githubusercontent.com/u/4601331?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnyrubin","html_url":"https://github.com/johnnyrubin","followers_url":"https://api.github.com/users/johnnyrubin/followers","following_url":"https://api.github.com/users/johnnyrubin/following{/other_user}","gists_url":"https://api.github.com/users/johnnyrubin/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnyrubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnyrubin/subscriptions","organizations_url":"https://api.github.com/users/johnnyrubin/orgs","repos_url":"https://api.github.com/users/johnnyrubin/repos","events_url":"https://api.github.com/users/johnnyrubin/events{/privacy}","received_events_url":"https://api.github.com/users/johnnyrubin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-06T15:53:32Z","updated_at":"2015-06-06T16:52:13Z","closed_at":null,"body":"Bonjour,\r\n\r\npetit problème pour moi, impossible de le faire tourner, le npm install n'installe jamais tout même si j'utilise le npm install -g node-gyp et que j'installe sudo apt-get install libasound2-dev, et j'ai installé à la main sails-util-mvcsloader qui ne s'installait pas via le package.json\r\n\r\nUne idée?\r\n\r\nErreur ramené par le node app.js   \r\n\r\ninfo: User hook policies loaded from /root/gladys2.0/api/hooks/example/policies.\r\ninfo: User hook config loaded from /root/gladys2.0/api/hooks/example/config.\r\nerror: Error: The hook `orm` is taking too long to load.\r\nMake sure it is triggering its `initialize()` callback, or else set `sails.config.orm._hookTimeout to a higher value (currently 30000)\r\n    at tooLong [as _onTimeout] (/root/gladys2.0/node_modules/sails/lib/app/private/loadHooks.js:92:21)\r\n    at Timer.listOnTimeout [as ontimeout] (timers.js:112:15) { [Error: The hook `orm` is taking too long to load.\r\nMake sure it is triggering its `initialize()` callback, or else set `sails.config.orm._hookTimeout to a higher value (currently 30000)] code: 'E_HOOK_TIMEOUT' }\r\nerror: Grunt :: module.js:340\r\n    throw err;\r\n          ^\r\nError: Cannot find module 'grunt-cli/bin/grunt'\r\n    at Function.Module._resolveFilename (module.js:338:15)\r\n    at Function.Module._load (module.js:280:25)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at Object.<anonymous> (/root/gladys2.0/node_modules/sails/lib/hooks/grunt/grunt-wrapper.js:10:1)\r\n    at Module._compile (module.js:456:26)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Function.Module.runMain (module.js:497:10)\r\ninfo: User hook models loaded from /root/gladys2.0/api/hooks/example/lib/../models.\r\nerror: [ { [Error: ENOENT, lstat '/root/gladys2.0/api/hooks/example/assets']\r\n    errno: 34,\r\n    code: 'ENOENT',\r\n    path: '/root/gladys2.0/api/hooks/example/assets' } ]\r\nerror: A hook (`example`) failed to load!\r\n\r\n/root/gladys2.0/node_modules/async/lib/async.js:30\r\n            if (called) throw new Error(\"Callback was already called.\");\r\n                              ^\r\nError: Callback was already called.\r\n    at /root/gladys2.0/node_modules/async/lib/async.js:30:31\r\n    at process._tickDomainCallback (node.js:463:13)"},"comment":{"url":"https://api.github.com/repos/GladysProject/Gladys/issues/comments/109617246","html_url":"https://github.com/GladysProject/Gladys/issues/2#issuecomment-109617246","issue_url":"https://api.github.com/repos/GladysProject/Gladys/issues/2","id":109617246,"user":{"login":"Pierre-Gilles","id":7365207,"avatar_url":"https://avatars.githubusercontent.com/u/7365207?v=3","gravatar_id":"","url":"https://api.github.com/users/Pierre-Gilles","html_url":"https://github.com/Pierre-Gilles","followers_url":"https://api.github.com/users/Pierre-Gilles/followers","following_url":"https://api.github.com/users/Pierre-Gilles/following{/other_user}","gists_url":"https://api.github.com/users/Pierre-Gilles/gists{/gist_id}","starred_url":"https://api.github.com/users/Pierre-Gilles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pierre-Gilles/subscriptions","organizations_url":"https://api.github.com/users/Pierre-Gilles/orgs","repos_url":"https://api.github.com/users/Pierre-Gilles/repos","events_url":"https://api.github.com/users/Pierre-Gilles/events{/privacy}","received_events_url":"https://api.github.com/users/Pierre-Gilles/received_events","type":"User","site_admin":false},"created_at":"2015-06-06T16:52:13Z","updated_at":"2015-06-06T16:52:13Z","body":"I think the error is pretty explicit \"Cannot find module 'grunt-cli/bin/grunt' \", have you tried a global install of \"grunt-cli\" ? ( `npm install -g grunt-cli` )\r\n\r\nOtherwise, if this doesn't work, it might be that your computer isn't fast enough to create the database in the accorded time, you should create a `orm.js` file in the `config` directory with the following code : \r\n\r\n```\r\n// config/orm.js\r\nmodule.exports.orm = {\r\n  _hookTimeout: 60000 // I used 60 seconds as my new timeout\r\n};\r\n```\r\n( reference [here](http://stackoverflow.com/questions/28524926/the-hook-orm-taking-too-long-to-load) )\r\nIf it's the case, I will add this file to the project.\r\n\r\n( I've answered in English because that's a little bit better to speak in English on GitHub, so that everyone can understand :) )\r\n"}}