{"action":"closed","issue":{"url":"https://api.github.com/repos/balderdashy/sails/issues/3253","labels_url":"https://api.github.com/repos/balderdashy/sails/issues/3253/labels{/name}","comments_url":"https://api.github.com/repos/balderdashy/sails/issues/3253/comments","events_url":"https://api.github.com/repos/balderdashy/sails/issues/3253/events","html_url":"https://github.com/balderdashy/sails/issues/3253","id":107842318,"number":3253,"title":"Sails (Express) breaks on npm 3.3.3","user":{"login":"wulfsolter","id":1692132,"avatar_url":"https://avatars.githubusercontent.com/u/1692132?v=3","gravatar_id":"","url":"https://api.github.com/users/wulfsolter","html_url":"https://github.com/wulfsolter","followers_url":"https://api.github.com/users/wulfsolter/followers","following_url":"https://api.github.com/users/wulfsolter/following{/other_user}","gists_url":"https://api.github.com/users/wulfsolter/gists{/gist_id}","starred_url":"https://api.github.com/users/wulfsolter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wulfsolter/subscriptions","organizations_url":"https://api.github.com/users/wulfsolter/orgs","repos_url":"https://api.github.com/users/wulfsolter/repos","events_url":"https://api.github.com/users/wulfsolter/events{/privacy}","received_events_url":"https://api.github.com/users/wulfsolter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-23T03:18:15Z","updated_at":"2015-09-23T16:25:26Z","closed_at":"2015-09-23T16:25:26Z","body":"With node v4.1.0 and npm 3.3.3 express's prereq connect is not symlinked properly, resulting in a failure to start sails:\r\n\r\nError message when launching Sails:\r\n```\r\n$ node app.js\r\ninfo: *** Starting Sails in undefined ***\r\nmodule.js:338\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'express/node_modules/connect'\r\n    at Function.Module._resolveFilename (module.js:336:15)\r\n    at Function.Module._load (module.js:286:25)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at Object.<anonymous> (/Users/wulfsolter/Code/wherewolf-backend/node_modules/sails/lib/hooks/session/index.js:25:22)\r\n    at Module._compile (module.js:434:26)\r\n    at Object.Module._extensions..js (module.js:452:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at /Users/wulfsolter/Code/wherewolf-backend/node_modules/sails/lib/app/configuration/index.js:63:34\r\n    at /Users/wulfsolter/Code/wherewolf-backend/node_modules/sails/node_modules/lodash/dist/lodash.js:3741:15\r\n    at forOwn (/Users/wulfsolter/Code/wherewolf-backend/node_modules/sails/node_modules/lodash/dist/lodash.js:2106:15)\r\n    at Function.reduce (/Users/wulfsolter/Code/wherewolf-backend/node_modules/sails/node_modules/lodash/dist/lodash.js:3738:9)\r\n    at Configuration.defaultConfig (/Users/wulfsolter/Code/wherewolf-backend/node_modules/sails/lib/app/configuration/index.js:58:18)\r\n```\r\n\r\nWorkaround is to relink connect:\r\n    ln -s ../../connect/ node_modules/express/node_modules/\r\n\r\n"}}