Question: i created an angular application with yeoman, when i executed grunt command i got the following error

```
Running "karma:unit" (karma) task
WARN [config]: JASMINE is not supported anymore.
        Please use `frameworks = ["jasmine"];` instead.
WARN [config]: JASMINE_ADAPTER is not supported anymore.
        Please use `frameworks = ["jasmine"];` instead.
WARN [config]: LOG_INFO is not supported anymore.
  Please use `karma.LOG_INFO` instead.
ERROR [config]: Config file must export a function!
  module.exports = function(config) {
    config.set({
      // your config
    });
  };

```

how do i solve this error ?

Answer: 
> 
> It's just those two predefined terms (JASMINE and JASMINE\_ADAPTER)
>  that should not be used any more. All you have to do is open the
>  config file ./config/karma.conf.js and comment out those terms and add
>  frameworks = ["jasmine"];.
> 
> 
> 

Via [Yasuhiro Yoshida](http://yasuhiroyoshida.github.io/2013/05/20/jasmine-is-not-supported,-angular_scenario-is-not-supported,-and-econnrefused/)
apart from @sheplu's answer, there are additional changes that need to be done in karma.conf.js, you can see it in <https://gist.github.com/sivakumar-kailasam/6421378> 

this gist solves your problem of **'Config file must be a export a function!'**

The official docs has these changes as well <http://karma-runner.github.io/0.10/config/configuration-file.html>