Development Env: No campain map and "TypeError" from the level

I built the development environment and started the first campaign. But I cannot see the map for the dungeon. I just started the first level and I’m continously getting the following red boxes of error saying from the hero selection screen;

Error: Uncaught TypeError: Cannot read property ‘apply’ of undefined
Check the JS console for more.

Any help? BTW. This same behavior is happening from the Mac OS development environment too.

Hmm, that’s no good. Try opening up the JS console and then opening the little triangle in the JS console error message to see what the stack trace is. It should tell you where the error is coming from, and we can try to figure it out.

Seems like coco.media.chunks is missing from the database dump.

As for the other error, it may be related to the missing database files (didn’t see on main site), but the stack trace is not helpful at all (something in soundjs, in createjs.proxy):

Uncaught TypeError: Cannot read property 'apply' of undefined
    (anonymous function) @ soundjs-NEXT.combined.js:211

(Speaking of which, it seems like that file hasn’t been updated since last year…)

I downloaded the “up to date database dump” from the link in the ‘getting started’ (http://analytics.codecombat.com:8080/dump.tar.gz) And here’s snapshot of console log for someone who is interested :slight_smile:

Oh right, we must have taken out the media chunks at some point, because they made the dump much bigger to download, and usually it’s not too necessary to have some of that stuff when developing locally. Maybe you can add some more error handling in AudioPlayer so that it doesn’t have the apply error in SoundJS? (Somewhere in the stack trace, we can probably handle it.)