cammil Posted March 22, 2015 Share Posted March 22, 2015 I'm just working through the first tutorial, and also looking at the phaser examples. I often get this error in my js console log: GET http://localhost:8080/js/phaser.map 404 (Not Found) (I've also just installed node and have no experience with node either!) Does anyone have any ideas about what I am doing wrong? Link to comment Share on other sites More sharing options...
kamikaze1945 Posted March 30, 2015 Share Posted March 30, 2015 You must download file phaser.maphttps://github.com/photonstorm/phaser/blob/master/build/phaser.mapand add to the directory where is located phaser.min.js cammil 1 Link to comment Share on other sites More sharing options...
drhayes Posted March 30, 2015 Share Posted March 30, 2015 That is a source map. It's a way for the browser to show you the unminified JavaScript even though you're using a minified file. Very handy for local development. It's entirely a browser-side thing. And, don't worry, it's only showing up as an error because you're opening the dev tools; if your players don't do that there won't be an error. EDIT: I can't spell. cammil 1 Link to comment Share on other sites More sharing options...
Recommended Posts