Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Nick Basham
Nick Basham
10,435 Points

Uncaught Error

I cloned the repo, but am receiving this error when running the app:

```Uncaught Error: Cannot find module "scripts/controllers/main.js" vendor.bundle.js:13398 Error: [ng:areq] Argument 'mainCtrl' is not a function, got undefined http://errors.angularjs.org/1.5.1/ng/areq?p0=mainCtrl&p1=not%20a%20function%2C%20got%20undefined at vendor.bundle.js:183 at assertArg (vendor.bundle.js:1959) at assertArgFn (vendor.bundle.js:1969) at vendor.bundle.js:9977 at setupControllers (vendor.bundle.js:9144) at nodeLinkFn (vendor.bundle.js:8956) at compositeLinkFn (vendor.bundle.js:8363) at compositeLinkFn (vendor.bundle.js:8366) at publicLinkFn (vendor.bundle.js:8243) at vendor.bundle.js:1830(anonymous function) @ vendor.bundle.js:13398

Any ideas?