{"action":"closed","issue":{"url":"https://api.github.com/repos/meanjs/mean/issues/514","labels_url":"https://api.github.com/repos/meanjs/mean/issues/514/labels{/name}","comments_url":"https://api.github.com/repos/meanjs/mean/issues/514/comments","events_url":"https://api.github.com/repos/meanjs/mean/issues/514/events","html_url":"https://github.com/meanjs/mean/issues/514","id":67836737,"number":514,"title":"grunt karma - \"Invalid config file\"","user":{"login":"danpantry","id":2939173,"avatar_url":"https://avatars.githubusercontent.com/u/2939173?v=3","gravatar_id":"","url":"https://api.github.com/users/danpantry","html_url":"https://github.com/danpantry","followers_url":"https://api.github.com/users/danpantry/followers","following_url":"https://api.github.com/users/danpantry/following{/other_user}","gists_url":"https://api.github.com/users/danpantry/gists{/gist_id}","starred_url":"https://api.github.com/users/danpantry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danpantry/subscriptions","organizations_url":"https://api.github.com/users/danpantry/orgs","repos_url":"https://api.github.com/users/danpantry/repos","events_url":"https://api.github.com/users/danpantry/events{/privacy}","received_events_url":"https://api.github.com/users/danpantry/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meanjs/mean/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-11T21:42:56Z","updated_at":"2015-08-07T22:39:22Z","closed_at":"2015-08-07T22:39:22Z","body":"Hi, \r\n\r\nI just created a new meanjs project using `yo`. Tried to run `karma:test` and I receive the following error:\r\n\r\n````\r\n$ grunt karma:unit\r\nRunning \"karma:unit\" (karma) task\r\nERROR [config]: Invalid config file!\r\n  Error: Cannot find module './env/undefined'\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> (e:\\jaeger!\\config\\config.js:14:2)\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\n\r\nOnly modification I have made is altering both `env/config/test` and `env/config/development` to have my private network IP for MongoDB, rather than localhost. Neither are malformed or have syntax errors.\r\n\r\nI'm on Windows 7 using Git Bash as my shell."}}