{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4379","labels_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4379/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4379/comments","events_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4379/events","html_url":"https://github.com/ember-cli/ember-cli/issues/4379","id":93221114,"number":4379,"title":"Fails to run after installing ember-cli on OSX","user":{"login":"kenkendk","id":1510755,"avatar_url":"https://avatars.githubusercontent.com/u/1510755?v=3","gravatar_id":"","url":"https://api.github.com/users/kenkendk","html_url":"https://github.com/kenkendk","followers_url":"https://api.github.com/users/kenkendk/followers","following_url":"https://api.github.com/users/kenkendk/following{/other_user}","gists_url":"https://api.github.com/users/kenkendk/gists{/gist_id}","starred_url":"https://api.github.com/users/kenkendk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenkendk/subscriptions","organizations_url":"https://api.github.com/users/kenkendk/orgs","repos_url":"https://api.github.com/users/kenkendk/repos","events_url":"https://api.github.com/users/kenkendk/events{/privacy}","received_events_url":"https://api.github.com/users/kenkendk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ember-cli/ember-cli/labels/pending-submitter-response","name":"pending-submitter-response","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-06T08:21:35Z","updated_at":"2015-07-08T07:26:06Z","closed_at":"2015-07-08T07:26:06Z","body":"After running `sudo npm install -g ember-cli` I get this error when I try to run `ember new myapp`:\r\n\r\n```\r\nmodule.js:338\r\n    throw err;\r\n          ^\r\nError: Cannot find module 'lodash-node/modern/objects/assign'\r\n    at Function.Module._resolveFilename (module.js:336:15)\r\n    at Function.Module._load (module.js:278:25)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at Object.<anonymous> (/usr/local/lib/node_modules/ember-cli/node_modules/core-object/core-object.js:4:13)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478: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```\r\n\r\nIf was able to \"fix\" it by editing `node_modules/core-object/core-object.js` and changing line `3` from:\r\n```javascript\r\nvar assign = require('lodash-node/modern/objects/assign');\r\n```\r\n\r\nto\r\n\r\n```javascript\r\nvar assign = require('lodash/object/assign');\r\n```\r\n\r\nInstall info (after fixing):\r\n```\r\nversion: 0.2.7\r\nnode: 0.12.6\r\nnpm: 2.11.0\r\n```"},"comment":{"url":"https://api.github.com/repos/ember-cli/ember-cli/issues/comments/119468041","html_url":"https://github.com/ember-cli/ember-cli/issues/4379#issuecomment-119468041","issue_url":"https://api.github.com/repos/ember-cli/ember-cli/issues/4379","id":119468041,"user":{"login":"kenkendk","id":1510755,"avatar_url":"https://avatars.githubusercontent.com/u/1510755?v=3","gravatar_id":"","url":"https://api.github.com/users/kenkendk","html_url":"https://github.com/kenkendk","followers_url":"https://api.github.com/users/kenkendk/followers","following_url":"https://api.github.com/users/kenkendk/following{/other_user}","gists_url":"https://api.github.com/users/kenkendk/gists{/gist_id}","starred_url":"https://api.github.com/users/kenkendk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenkendk/subscriptions","organizations_url":"https://api.github.com/users/kenkendk/orgs","repos_url":"https://api.github.com/users/kenkendk/repos","events_url":"https://api.github.com/users/kenkendk/events{/privacy}","received_events_url":"https://api.github.com/users/kenkendk/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T07:26:06Z","updated_at":"2015-07-08T07:26:06Z","body":"That works, which is strange considering that I uninstalled, cleared cache and re-installed with the same result."}}