Closed bluetidepro closed 9 years ago
So I think this has to do more with I already had node running. However, if I just do a gulp build, to build it, I get these errors:
blah~/Desktop/lttp-phaser-master: gulp build
[14:26:03] Using gulpfile ~/Desktop/lttp-phaser-master/gulpfile.js
[14:26:03] Starting 'less'...
[14:26:03] Starting 'scripts'...
[14:26:03] Starting 'copy:index'...
[14:26:03] Starting 'copy:vendor'...
[14:26:03] Starting 'assets:tilemap-pack'...
[14:26:03] Starting 'assets:imagemin'...
[14:26:03] Starting 'assets:jsonmin'...
[14:26:03] Starting 'assets:copy'...
[14:26:03] 'main.css' all files 3.3 kB
[14:26:03] Finished 'less' after 170 ms
[14:26:03] Finished 'copy:index' after 181 ms
[14:26:03] Finished 'copy:vendor' after 207 ms
[14:26:03] Starting 'copy'...
[14:26:03] Finished 'copy' after 9.06 μs
[14:26:03] gulp-jsonmin: Minified 16 json files (saved 690.95 kB - 29.9%)
[14:26:03] Finished 'assets:tilemap-pack' after 478 ms
[14:26:04] Finished 'assets:jsonmin' after 643 ms
src/ts/Game.ts(1,30): error TS2095: Could not find symbol 'Phaser'.
src/ts/Game.ts(5,22): error TS2095: Could not find symbol 'Phaser'.
src/ts/Game.ts(23,12): error TS2103: 'super' cannot be referenced in non-derived classes.
src/ts/Game.ts(26,16): error TS2095: Could not find symbol 'Phaser'.
src/ts/Game.ts(38,17): error TS2094: The property 'state' does not exist on value of type 'Game'.
src/ts/Game.ts(45,21): error TS2094: The property 'state' does not exist on value of type 'Game'.
src/ts/Game.ts(50,12): error TS2103: 'super' cannot be referenced in non-derived classes.
src/ts/Game.ts(67,17): error TS2094: The property 'world' does not exist on value of type 'Game'.
src/ts/Game.ts(74,17): error TS2094: The property 'input' does not exist on value of type 'Game'.
src/ts/Game.ts(75,16): error TS2095: Could not find symbol 'Phaser'.
src/ts/Game.ts(76,16): error TS2095: Could not find symbol 'Phaser'.
src/ts/Game.ts(77,16): error TS2095: Could not find symbol 'Phaser'.
src/ts/Game.ts(78,16): error TS2095: Could not find symbol 'Phaser'.
src/ts/Game.ts(79,16): error TS2095: Could not find symbol 'Phaser'.
src/ts/Game.ts(80,16): error TS2095: Could not find symbol 'Phaser'.
src/ts/Game.ts(84,17): error TS2094: The property 'input' does not exist on value of type 'Game'.
src/ts/Game.ts(86,17): error TS2094: The property 'add' does not exist on value of type 'Game'.
src/ts/Game.ts(86,28): error TS2095: Could not find symbol 'Phaser'.
src/ts/Game.ts(87,17): error TS2094: The property 'add' does not exist on value of type 'Game'.
src/ts/Game.ts(87,28): error TS2095: Could not find symbol 'Phaser'.
src/ts/Game.ts(89,17): error TS2094: The property 'sound' does not exist on value of type 'Game'.
src/ts/Game.ts(93,12): error TS2103: 'super' cannot be referenced in non-derived classes.
src/ts/Game.ts(95,17): error TS2094: The property 'sound' does not exist on value of type 'Game'.
src/ts/Game.ts(99,12): error TS2103: 'super' cannot be referenced in non-derived classes.
src/ts/Game.ts(101,17): error TS2094: The property 'sound' does not exist on value of type 'Game'.
src/ts/data/Constants.ts(57,33): error TS2095: Could not find symbol 'Phaser'.
src/ts/data/Constants.ts(57,52): error TS2095: Could not find symbol 'Phaser'.
src/ts/data/Constants.ts(58,35): error TS2095: Could not find symbol 'Phaser'.
src/ts/data/Constants.ts(58,54): error TS2095: Could not find symbol 'Phaser'.
src/ts/data/Constants.ts(59,35): error TS2095: Could not find symbol 'Phaser'.
src/ts/data/Constants.ts(59,54): error TS2095: Could not find symbol 'Phaser'.
src/ts/data/Constants.ts(60,36): error TS2095: Could not find symbol 'Phaser'.
src/ts/data/Constants.ts(60,55): error TS2095: Could not find symbol 'Phaser'.
src/ts/data/ItemDescriptors.ts(9,17): error TS2095: Could not find symbol 'Phaser'.
src/ts/data/ItemDescriptors.ts(85,29): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Entity.ts(1,32): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Entity.ts(16,18): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Entity.ts(16,37): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Entity.ts(32,16): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Entity.ts(36,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Entity.ts(37,12): error TS2103: 'super' cannot be referenced in non-derived classes.
src/ts/entities/Entity.ts(46,21): error TS2094: The property 'body' does not exist on value of type 'Entity'.
src/ts/entities/Entity.ts(47,21): error TS2094: The property 'body' does not exist on value of type 'Entity'.
src/ts/entities/Entity.ts(52,21): error TS2094: The property 'alive' does not exist on value of type 'Entity'.
src/ts/entities/Entity.ts(60,17): error TS2094: The property 'body' does not exist on value of type 'Entity'.
src/ts/entities/Entity.ts(67,17): error TS2094: The property 'body' does not exist on value of type 'Entity'.
src/ts/entities/Entity.ts(68,17): error TS2094: The property 'body' does not exist on value of type 'Entity'.
src/ts/entities/Entity.ts(101,21): error TS2094: The property 'animations' does not exist on value of type 'Entity'.
src/ts/entities/Player.ts(26,19): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(27,20): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(28,24): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(29,27): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(30,20): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(31,19): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(39,18): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(44,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(46,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(49,17): error TS2094: The property 'name' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(80,32): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(82,17): error TS2094: The property 'anchor' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(95,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(96,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(97,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(98,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(100,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(101,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(102,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(103,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(105,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(106,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(107,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(108,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(129,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(136,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(178,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(179,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(183,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(184,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(188,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(189,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(201,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(202,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(206,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(207,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(211,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(212,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(229,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(230,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(231,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(236,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(237,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(238,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(243,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(244,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(245,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(250,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(251,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(252,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(257,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(263,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(306,17): error TS2094: The property 'body' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(307,17): error TS2094: The property 'body' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(327,21): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(338,21): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(364,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(370,24): error TS2094: The property 'damage' does not exist on value of type 'Entity'.
src/ts/entities/Player.ts(380,33): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/Player.ts(467,17): error TS2094: The property 'parent' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(494,17): error TS2094: The property 'game' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(497,101): error TS2094: The property 'height' does not exist on value of type 'Lttp.Entities.Player'.
src/ts/entities/Player.ts(526,24): error TS2094: The property 'animations' does not exist on value of type 'Entity'.
src/ts/entities/Player.ts(529,18): error TS2094: The property 'setFrame' does not exist on value of type 'Entity'.
src/ts/entities/Player.ts(529,32): error TS2094: The property 'game' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(536,17): error TS2094: The property 'parent' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(545,17): error TS2094: The property 'game' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(596,17): error TS2094: The property 'parent' does not exist on value of type 'Items.WorldItem'.
src/ts/entities/Player.ts(597,17): error TS2094: The property 'parent' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(600,17): error TS2094: The property 'setFrame' does not exist on value of type 'Items.WorldItem'.
src/ts/entities/Player.ts(603,17): error TS2094: The property 'animations' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(606,17): error TS2094: The property 'game' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(607,30): error TS2094: The property 'x' does not exist on value of type 'Lttp.Entities.Player'.
src/ts/entities/Player.ts(607,41): error TS2094: The property 'y' does not exist on value of type 'Lttp.Entities.Player'.
src/ts/entities/Player.ts(607,50): error TS2094: The property 'height' does not exist on value of type 'Lttp.Entities.Player'.
src/ts/entities/Player.ts(630,20): error TS2008: Value of type 'Lttp.Entities.PlayerInventory' is not indexable by type 'any'.
src/ts/entities/Player.ts(630,40): error TS2094: The property 'type' does not exist on value of type 'Items.WorldItem'.
src/ts/entities/Player.ts(646,20): error TS2094: The property 'x' does not exist on value of type 'Entity'.
src/ts/entities/Player.ts(646,29): error TS2094: The property 'x' does not exist on value of type 'Player'.
src/ts/entities/Player.ts(647,20): error TS2094: The property 'y' does not exist on value of type 'Entity'.
src/ts/entities/Player.ts(647,29): error TS2094: The property 'y' does not exist on value of type 'Player'.
src/ts/effects/ScreenFlash.ts(1,37): error TS2095: Could not find symbol 'Phaser'.
src/ts/effects/ScreenFlash.ts(3,20): error TS2095: Could not find symbol 'Phaser'.
src/ts/effects/ScreenFlash.ts(5,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/effects/ScreenFlash.ts(6,12): error TS2103: 'super' cannot be referenced in non-derived classes.
src/ts/effects/ScreenFlash.ts(9,17): error TS2094: The property 'key' does not exist on value of type 'ScreenFlash'.
src/ts/effects/ScreenFlash.ts(10,17): error TS2094: The property 'key' does not exist on value of type 'ScreenFlash'.
src/ts/effects/ScreenFlash.ts(12,17): error TS2094: The property 'alpha' does not exist on value of type 'ScreenFlash'.
src/ts/effects/ScreenFlash.ts(14,34): error TS2095: Could not find symbol 'Phaser'.
src/ts/effects/ScreenFlash.ts(20,31): error TS2095: Could not find symbol 'Phaser'.
src/ts/fonts/Font.ts(10,17): error TS2095: Could not find symbol 'PIXI'.
src/ts/fonts/Font.ts(16,30): error TS2095: Could not find symbol 'Phaser'.
src/ts/fonts/Font.ts(20,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/fonts/Font.ts(21,12): error TS2103: 'super' cannot be referenced in non-derived classes.
src/ts/fonts/Hud.ts(5,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/fonts/Hud.ts(9,30): error TS2095: Could not find symbol 'Phaser'.
src/ts/fonts/Hud.ts(34,33): error TS2095: Could not find symbol 'PIXI'.
src/ts/fonts/Hud.ts(34,46): error TS2095: Could not find symbol 'PIXI'.
src/ts/fonts/Hud.ts(41,12): error TS2095: Could not find symbol 'PIXI'.
src/ts/fonts/ReturnOfGanon.ts(7,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/fonts/ReturnOfGanon.ts(11,30): error TS2095: Could not find symbol 'Phaser'.
src/ts/fonts/ReturnOfGanon.ts(25,37): error TS2095: Could not find symbol 'Phaser'.
src/ts/fonts/ReturnOfGanon.ts(102,33): error TS2095: Could not find symbol 'PIXI'.
src/ts/fonts/ReturnOfGanon.ts(102,46): error TS2095: Could not find symbol 'PIXI'.
src/ts/fonts/ReturnOfGanon.ts(109,12): error TS2095: Could not find symbol 'PIXI'.
src/ts/gui/Dialog.ts(3,32): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Dialog.ts(4,19): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Dialog.ts(5,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Dialog.ts(7,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Dialog.ts(24,16): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Dialog.ts(25,22): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Dialog.ts(26,22): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Dialog.ts(28,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Dialog.ts(30,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Dialog.ts(31,12): error TS2103: 'super' cannot be referenced in non-derived classes.
src/ts/gui/Dialog.ts(34,34): error TS2094: The property 'game' does not exist on value of type 'Dialog'.
src/ts/gui/Dialog.ts(35,36): error TS2094: The property 'game' does not exist on value of type 'Dialog'.
src/ts/gui/Dialog.ts(39,17): error TS2094: The property 'visible' does not exist on value of type 'Dialog'.
src/ts/gui/Dialog.ts(42,36): error TS2094: The property 'game' does not exist on value of type 'Dialog'.
src/ts/gui/Dialog.ts(48,22): error TS2094: The property 'name' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Dialog.ts(49,22): error TS2094: The property 'scale' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Dialog.ts(50,17): error TS2094: The property 'add' does not exist on value of type 'Dialog'.
src/ts/gui/Dialog.ts(54,36): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Dialog.ts(58,53): error TS2094: The property 'position' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Dialog.ts(58,75): error TS2094: The property 'position' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Dialog.ts(60,40): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Dialog.ts(64,17): error TS2094: The property 'visible' does not exist on value of type 'Dialog'.
src/ts/gui/Dialog.ts(71,22): error TS2094: The property 'text' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Dialog.ts(87,17): error TS2094: The property 'visible' does not exist on value of type 'Dialog'.
src/ts/gui/Dialog.ts(116,37): error TS2094: The property 'text' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Dialog.ts(121,26): error TS2094: The property 'visible' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Dialog.ts(124,26): error TS2094: The property 'visible' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Dialog.ts(131,26): error TS2094: The property 'visible' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Dialog.ts(134,26): error TS2094: The property 'visible' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Dialog.ts(146,30): error TS2094: The property 'text' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Dialog.ts(156,26): error TS2094: The property 'visible' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Dialog.ts(159,26): error TS2094: The property 'text' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Hud.ts(1,29): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Hud.ts(4,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Hud.ts(5,12): error TS2103: 'super' cannot be referenced in non-derived classes.
src/ts/gui/Inventory.ts(1,38): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(3,16): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(6,35): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(8,27): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(12,24): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(19,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(21,28): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(26,23): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(28,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(29,12): error TS2103: 'super' cannot be referenced in non-derived classes.
src/ts/gui/Inventory.ts(39,17): error TS2094: The property 'position' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(40,17): error TS2094: The property 'visible' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(42,29): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(46,37): error TS2094: The property 'game' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(47,37): error TS2094: The property 'game' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(51,12): error TS2103: 'super' cannot be referenced in non-derived classes.
src/ts/gui/Inventory.ts(53,37): error TS2094: The property 'game' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(54,37): error TS2094: The property 'game' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(60,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(61,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(62,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(63,30): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(67,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(68,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(69,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(70,30): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(74,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(75,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(76,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(77,30): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(81,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(82,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(83,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(84,30): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(88,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(89,42): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(89,56): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(93,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(94,42): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(94,57): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(113,39): error TS2094: The property 'game' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(119,46): error TS2094: The property 'visible' does not exist on value of type 'InventoryItemSprite'.
src/ts/gui/Inventory.ts(122,45): error TS2094: The property 'visible' does not exist on value of type 'InventoryItemSprite'.
src/ts/gui/Inventory.ts(127,45): error TS2094: The property 'game' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(133,27): error TS2094: The property 'setFrame' does not exist on value of type 'InventoryItemSprite'.
src/ts/gui/Inventory.ts(134,27): error TS2094: The property 'visible' does not exist on value of type 'InventoryItemSprite'.
src/ts/gui/Inventory.ts(140,27): error TS2094: The property 'visible' does not exist on value of type 'InventoryItemSprite'.
src/ts/gui/Inventory.ts(145,37): error TS2094: The property 'visible' does not exist on value of type 'InventoryItemSprite'.
src/ts/gui/Inventory.ts(146,37): error TS2094: The property 'setFrame' does not exist on value of type 'InventoryItemSprite'.
src/ts/gui/Inventory.ts(147,82): error TS2094: The property 'game' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(171,17): error TS2094: The property 'visible' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(174,17): error TS2094: The property 'game' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(188,17): error TS2094: The property 'game' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(204,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(206,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(208,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(210,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/Inventory.ts(223,17): error TS2094: The property 'game' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(228,56): error TS2094: The property 'game' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(239,33): error TS2094: The property 'game' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(242,35): error TS2094: The property 'game' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(247,28): error TS2094: The property 'visible' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Inventory.ts(248,17): error TS2094: The property 'add' does not exist on value of type 'Inventory'.
src/ts/gui/Inventory.ts(266,46): error TS2094: The property 'position' does not exist on value of type 'InventoryItemSprite'.
src/ts/gui/Inventory.ts(267,46): error TS2094: The property 'position' does not exist on value of type 'InventoryItemSprite'.
src/ts/gui/Inventory.ts(270,28): error TS2094: The property 'text' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Inventory.ts(272,22): error TS2094: The property 'visible' does not exist on value of type 'InventoryItemSprite'.
src/ts/gui/Inventory.ts(275,32): error TS2094: The property 'visible' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/gui/Inventory.ts(301,31): error TS2095: Could not find symbol 'Phaser'.
src/ts/levels/Darkworld.ts(11,17): error TS2094: The property 'load' does not exist on value of type 'Darkworld'.
src/ts/levels/Level.ts(10,33): error TS2094: The property 'cache' does not exist on value of type 'Level'.
src/ts/levels/Level.ts(12,17): error TS2094: The property 'load' does not exist on value of type 'Level'.
src/ts/levels/Level.ts(20,42): error TS2094: The property 'game' does not exist on value of type 'Level'.
src/ts/levels/Level.ts(22,17): error TS2094: The property 'game' does not exist on value of type 'Level'.
src/ts/levels/Level.ts(23,17): error TS2094: The property 'game' does not exist on value of type 'Level'.
src/ts/levels/Level.ts(34,17): error TS2094: The property 'game' does not exist on value of type 'Level'.
src/ts/levels/Level.ts(34,48): error TS2094: The property 'body' does not exist on value of type 'Entities.Player'.
src/ts/levels/Level.ts(36,17): error TS2094: The property 'game' does not exist on value of type 'Level'.
src/ts/levels/Level.ts(37,17): error TS2094: The property 'game' does not exist on value of type 'Level'.
src/ts/levels/Level.ts(37,44): error TS2095: Could not find symbol 'Phaser'.
src/ts/levels/Lightworld.ts(11,17): error TS2094: The property 'load' does not exist on value of type 'Lightworld'.
src/ts/levels/Lightworld.ts(15,17): error TS2094: The property 'load' does not exist on value of type 'Lightworld'.
src/ts/levels/LinksHouse.ts(10,17): error TS2094: The property 'load' does not exist on value of type 'LinksHouse'.
src/ts/states/Boot.ts(6,18): error TS2094: The property 'preload' does not exist on value of type 'State'.
src/ts/states/Boot.ts(8,17): error TS2094: The property 'load' does not exist on value of type 'Boot'.
src/ts/states/Boot.ts(9,17): error TS2094: The property 'load' does not exist on value of type 'Boot'.
src/ts/states/Boot.ts(9,132): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Boot.ts(16,17): error TS2094: The property 'input' does not exist on value of type 'Boot'.
src/ts/states/Boot.ts(21,17): error TS2094: The property 'game' does not exist on value of type 'Boot'.
src/ts/states/Intro.ts(50,20): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(51,19): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(52,19): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(55,20): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(56,15): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(57,20): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(58,15): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(59,15): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(60,15): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(61,15): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(62,17): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(65,19): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(66,17): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(67,17): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(68,18): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(69,18): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(70,18): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(71,18): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(72,23): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(76,18): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(77,17): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(78,22): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(79,19): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(80,24): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(87,18): error TS2094: The property 'preload' does not exist on value of type 'State'.
src/ts/states/Intro.ts(89,17): error TS2094: The property 'load' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(95,35): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(96,34): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(97,34): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(107,18): error TS2094: The property 'update' does not exist on value of type 'State'.
src/ts/states/Intro.ts(109,21): error TS2094: The property 'input' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(109,43): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(110,21): error TS2094: The property 'input' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(110,43): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(111,21): error TS2094: The property 'input' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(111,42): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(112,21): error TS2094: The property 'input' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(112,42): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(196,17): error TS2094: The property 'game' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(217,17): error TS2094: The property 'game' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(222,52): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Intro.ts(238,17): error TS2094: The property 'game' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(300,29): error TS2094: The property 'game' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(347,21): error TS2094: The property 'game' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(366,35): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(369,35): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(372,30): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(385,30): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(389,32): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(402,30): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(405,30): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(409,30): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(413,55): error TS2094: The property 'game' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(413,102): error TS2094: The property 'game' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(414,28): error TS2094: The property 'name' does not exist on value of type 'Effects.ScreenFlash'.
src/ts/states/Intro.ts(416,55): error TS2094: The property 'game' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(416,102): error TS2094: The property 'game' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(417,28): error TS2094: The property 'name' does not exist on value of type 'Effects.ScreenFlash'.
src/ts/states/Intro.ts(419,55): error TS2094: The property 'game' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(419,102): error TS2094: The property 'game' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(420,28): error TS2094: The property 'name' does not exist on value of type 'Effects.ScreenFlash'.
src/ts/states/Intro.ts(424,34): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(428,32): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(431,32): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(434,38): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(452,33): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(456,33): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(460,33): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(464,33): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(469,28): error TS2094: The property 'name' does not exist on value of type 'Gui.Dialog'.
src/ts/states/Intro.ts(470,28): error TS2094: The property 'position' does not exist on value of type 'Gui.Dialog'.
src/ts/states/Intro.ts(474,33): error TS2094: The property 'add' does not exist on value of type 'Intro'.
src/ts/states/Intro.ts(479,33): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(15,30): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(16,23): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(18,22): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(24,15): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(26,16): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(28,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(29,23): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(30,25): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(32,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(33,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(34,20): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(35,20): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(36,20): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(38,22): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(39,24): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(40,23): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(41,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(42,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(43,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(44,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(46,22): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(47,22): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(48,22): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(57,32): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(60,18): error TS2094: The property 'preload' does not exist on value of type 'State'.
src/ts/states/MainMenu.ts(68,36): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(69,29): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(73,30): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(75,31): error TS2094: The property 'cache' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(77,36): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(78,36): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(79,35): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(80,35): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(81,35): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(83,71): error TS2094: The property 'game' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(84,46): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(84,66): error TS2094: The property 'game' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(84,72): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(99,33): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(103,38): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(138,25): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(142,25): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(146,25): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(150,25): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(171,17): error TS2094: The property 'game' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(200,35): error TS2094: The property 'text' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/states/MainMenu.ts(203,23): error TS2094: The property 'name' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/states/MainMenu.ts(215,28): error TS2094: The property 'name' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/states/MainMenu.ts(220,28): error TS2094: The property 'name' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/states/MainMenu.ts(230,44): error TS2094: The property 'text' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/states/MainMenu.ts(238,28): error TS2094: The property 'text' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/states/MainMenu.ts(243,27): error TS2094: The property 'text' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/states/MainMenu.ts(266,27): error TS2094: The property 'text' does not exist on value of type 'Fonts.ReturnOfGanon'.
src/ts/states/MainMenu.ts(283,29): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(309,37): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(354,36): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(356,37): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(358,36): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(361,36): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(364,36): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(367,36): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(370,37): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(373,37): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(376,37): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(379,33): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(391,38): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(393,38): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(395,33): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(408,40): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(448,29): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(454,39): error TS2094: The property 'add' does not exist on value of type 'MainMenu'.
src/ts/states/MainMenu.ts(461,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(462,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(463,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(464,30): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(467,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(468,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(469,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(470,30): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(473,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(474,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(475,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(476,30): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(479,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(480,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(481,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(482,30): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(485,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(486,42): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(486,57): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(489,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(490,42): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(490,56): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(493,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(494,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(495,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(496,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/MainMenu.ts(497,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Preloader.ts(5,20): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Preloader.ts(8,18): error TS2094: The property 'preload' does not exist on value of type 'State'.
src/ts/states/Preloader.ts(11,35): error TS2094: The property 'add' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(12,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(17,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(18,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(19,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(22,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(22,142): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Preloader.ts(23,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(23,142): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Preloader.ts(24,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(24,142): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Preloader.ts(25,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(25,142): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Preloader.ts(26,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(26,142): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Preloader.ts(27,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(27,142): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Preloader.ts(28,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(28,142): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Preloader.ts(31,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(31,142): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Preloader.ts(32,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(32,142): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Preloader.ts(35,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(42,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(46,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(50,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(55,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(59,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(63,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(67,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(71,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(75,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(78,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(82,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(86,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(90,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(94,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(98,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(102,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(106,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(110,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(115,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(119,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(123,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(127,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(131,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(135,17): error TS2094: The property 'load' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(143,29): error TS2094: The property 'add' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(143,79): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/Preloader.ts(148,29): error TS2094: The property 'game' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(148,69): error TS2094: The property 'game' does not exist on value of type 'Preloader'.
src/ts/states/Preloader.ts(149,17): error TS2094: The property 'game' does not exist on value of type 'Preloader'.
src/ts/states/State.ts(6,31): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/State.ts(8,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/State.ts(9,19): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/State.ts(12,12): error TS2103: 'super' cannot be referenced in non-derived classes.
src/ts/states/State.ts(15,35): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/State.ts(16,33): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/State.ts(21,17): error TS2094: The property 'input' does not exist on value of type 'State'.
src/ts/states/State.ts(22,17): error TS2094: The property 'input' does not exist on value of type 'State'.
src/ts/states/State.ts(29,30): error TS2094: The property 'time' does not exist on value of type 'State'.
src/ts/states/State.ts(36,17): error TS2094: The property 'sound' does not exist on value of type 'State'.
src/ts/states/State.ts(68,59): error TS2095: Could not find symbol 'Phaser'.
src/ts/states/State.ts(69,28): error TS2094: The property 'cache' does not exist on value of type 'State'.
src/ts/states/State.ts(82,24): error TS2094: The property 'add' does not exist on value of type 'State'.
src/ts/utility/Pool.ts(5,33): error TS2095: Could not find symbol 'Phaser'.
src/ts/utility/Pool.ts(5,80): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/misc/Flower.ts(3,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/misc/Flower.ts(6,17): error TS2094: The property 'animations' does not exist on value of type 'Flower'.
src/ts/entities/misc/Flower.ts(12,17): error TS2094: The property 'animations' does not exist on value of type 'Flower'.
src/ts/entities/misc/Particle.ts(5,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/misc/Particle.ts(8,17): error TS2094: The property 'body' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(12,17): error TS2094: The property 'anchor' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(14,17): error TS2094: The property 'events' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(20,17): error TS2094: The property 'visible' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(23,22): error TS2094: The property 'animations' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(30,21): error TS2094: The property 'animations' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(34,17): error TS2094: The property 'name' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(38,17): error TS2094: The property 'animations' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(42,42): error TS2094: The property 'game' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(47,25): error TS2094: The property 'x' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(47,36): error TS2094: The property 'x' does not exist on value of type 'Player'.
src/ts/entities/misc/Particle.ts(47,48): error TS2094: The property 'width' does not exist on value of type 'Player'.
src/ts/entities/misc/Particle.ts(47,67): error TS2094: The property 'width' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(48,25): error TS2094: The property 'y' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(48,36): error TS2094: The property 'y' does not exist on value of type 'Player'.
src/ts/entities/misc/Particle.ts(48,55): error TS2094: The property 'height' does not exist on value of type 'Player'.
src/ts/entities/misc/Particle.ts(52,25): error TS2094: The property 'x' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(52,36): error TS2094: The property 'x' does not exist on value of type 'Player'.
src/ts/entities/misc/Particle.ts(52,48): error TS2094: The property 'width' does not exist on value of type 'Player'.
src/ts/entities/misc/Particle.ts(52,67): error TS2094: The property 'width' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(53,25): error TS2094: The property 'y' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(53,36): error TS2094: The property 'y' does not exist on value of type 'Player'.
src/ts/entities/misc/Particle.ts(53,53): error TS2094: The property 'height' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(57,25): error TS2094: The property 'x' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(57,36): error TS2094: The property 'x' does not exist on value of type 'Player'.
src/ts/entities/misc/Particle.ts(57,53): error TS2094: The property 'width' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(58,25): error TS2094: The property 'y' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(58,36): error TS2094: The property 'y' does not exist on value of type 'Player'.
src/ts/entities/misc/Particle.ts(62,25): error TS2094: The property 'x' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(62,36): error TS2094: The property 'x' does not exist on value of type 'Player'.
src/ts/entities/misc/Particle.ts(62,55): error TS2094: The property 'width' does not exist on value of type 'Player'.
src/ts/entities/misc/Particle.ts(63,25): error TS2094: The property 'y' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(63,36): error TS2094: The property 'y' does not exist on value of type 'Player'.
src/ts/entities/misc/Particle.ts(88,17): error TS2094: The property 'animations' does not exist on value of type 'Particle'.
src/ts/entities/misc/Particle.ts(89,17): error TS2094: The property 'visible' does not exist on value of type 'Particle'.
src/ts/entities/misc/Smash.ts(3,20): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/misc/Smash.ts(4,20): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/misc/Smash.ts(6,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/misc/Smash.ts(12,17): error TS2094: The property 'events' does not exist on value of type 'Smash'.
src/ts/entities/misc/Smash.ts(13,17): error TS2094: The property 'events' does not exist on value of type 'Smash'.
src/ts/entities/misc/Smash.ts(42,17): error TS2094: The property 'animations' does not exist on value of type 'Smash'.
src/ts/entities/misc/Smash.ts(45,34): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/misc/Smash.ts(54,33): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/misc/Smash.ts(55,17): error TS2094: The property 'visible' does not exist on value of type 'Smash'.
src/ts/entities/misc/Torch.ts(6,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/misc/Torch.ts(9,17): error TS2094: The property 'animations' does not exist on value of type 'Torch'.
src/ts/entities/misc/Torch.ts(13,17): error TS2094: The property 'animations' does not exist on value of type 'Torch'.
src/ts/entities/misc/Torch.ts(19,17): error TS2094: The property 'animations' does not exist on value of type 'Torch'.
src/ts/entities/misc/Torch.ts(27,17): error TS2094: The property 'animations' does not exist on value of type 'Torch'.
src/ts/entities/misc/Torch.ts(35,17): error TS2094: The property 'animations' does not exist on value of type 'Torch'.
src/ts/entities/items/WorldItem.ts(2,19): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/items/WorldItem.ts(3,22): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/items/WorldItem.ts(4,22): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/items/WorldItem.ts(12,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/entities/items/WorldItem.ts(15,17): error TS2094: The property 'body' does not exist on value of type 'WorldItem'.
src/ts/entities/items/WorldItem.ts(33,21): error TS2094: The property 'animations' does not exist on value of type 'WorldItem'.
src/ts/entities/items/WorldItem.ts(40,17): error TS2094: The property 'anchor' does not exist on value of type 'WorldItem'.
src/ts/entities/items/WorldItem.ts(58,21): error TS2094: The property 'animations' does not exist on value of type 'WorldItem'.
src/ts/entities/items/WorldItem.ts(60,21): error TS2094: The property 'animations' does not exist on value of type 'WorldItem'.
src/ts/entities/items/WorldItem.ts(61,21): error TS2094: The property 'setFrame' does not exist on value of type 'WorldItem'.
src/ts/entities/items/WorldItem.ts(64,17): error TS2094: The property 'position' does not exist on value of type 'WorldItem'.
src/ts/entities/items/WorldItem.ts(65,17): error TS2094: The property 'position' does not exist on value of type 'WorldItem'.
src/ts/entities/items/WorldItem.ts(67,17): error TS2094: The property 'visible' does not exist on value of type 'WorldItem'.
src/ts/entities/items/WorldItem.ts(77,17): error TS2094: The property 'visible' does not exist on value of type 'WorldItem'.
src/ts/entities/items/WorldItem.ts(94,39): error TS2094: The property 'game' does not exist on value of type 'WorldItem'.
src/ts/entities/items/WorldItem.ts(97,29): error TS2094: The property 'game' does not exist on value of type 'WorldItem'.
src/ts/entities/items/WorldItem.ts(97,42): error TS2094: The property 'parent' does not exist on value of type 'Player'.
src/ts/gui/items/EquiptedItem.ts(4,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/EquiptedItem.ts(5,20): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/EquiptedItem.ts(7,16): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/EquiptedItem.ts(9,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/InventoryCounter.ts(4,14): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/InventoryCounter.ts(8,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/InventoryCounter.ts(11,84): error TS2094: The property 'name' does not exist on value of type 'InventoryCounter'.
src/ts/gui/items/InventoryCounter.ts(21,17): error TS2094: The property 'add' does not exist on value of type 'InventoryCounter'.
src/ts/gui/items/InventoryCounter.ts(27,25): error TS2094: The property 'name' does not exist on value of type 'InventoryCounter'.
src/ts/gui/items/InventoryCounter.ts(36,22): error TS2094: The property 'text' does not exist on value of type 'Fonts.Hud'.
src/ts/gui/items/Item.ts(1,30): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/Item.ts(4,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/Item.ts(5,12): error TS2103: 'super' cannot be referenced in non-derived classes.
src/ts/gui/items/Item.ts(9,17): error TS2094: The property 'position' does not exist on value of type 'Item'.
src/ts/gui/items/LifeMeter.ts(6,15): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/LifeMeter.ts(7,15): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/LifeMeter.ts(8,14): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/LifeMeter.ts(10,16): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/LifeMeter.ts(12,16): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/LifeMeter.ts(14,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/LifeMeter.ts(80,67): error TS2094: The property 'game' does not exist on value of type 'LifeMeter'.
src/ts/gui/items/MagicMeter.ts(4,20): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/MagicMeter.ts(5,21): error TS2095: Could not find symbol 'Phaser'.
src/ts/gui/items/MagicMeter.ts(9,26): error TS2095: Could not find symbol 'Phaser'.
src/ts/utility/saves/PlayerSave.ts(6,18): error TS2095: Could not find symbol 'Phaser'.
src/ts/utility/saves/ZoneSave.ts(5,54): error TS2095: Could not find symbol 'Zone'.
[14:26:07] 'lttp.js' all files 162.66 kB
[14:26:08] 'lttp.min.js' all files 72.74 kB
[14:26:08] Finished 'scripts' after 5.31 s
[14:26:08] gulp-imagemin: Minified 28 images (saved 425.76 kB - 47.8%)
[14:26:08] Finished 'assets:imagemin' after 5.31 s
[14:26:08] Finished 'assets:copy' after 5.4 s
[14:26:08] Starting 'assets'...
[14:26:08] Finished 'assets' after 8.12 μs
[14:26:08] Starting 'build'...
[14:26:08] Finished 'build' after 6.39 μs
So it looks like there is some issues there with the build? Any ideas?
The first error you got was because there was a server already running on the address it tried to bind to (EADDRINUSE
). The second error is because it is not pointing to the proper typescript definition file, this is likely because phaser moved their typescript file recently and so this points to the wrong location now:
https://github.com/englercj/lttp-phaser/blob/master/src/ts/app.ts#L1
Try ensuring that link is correct, I haven't worked on this project in some time. Been very busy with pixi.
I really appreciate the quick help, @englercj. I got that fix in there, it was just the wrong url like you mentioned (it needed to be /// <reference path="../../node_modules/phaser/typescript/phaser.d.ts" />
). But now when I build I only get these errors:
src/ts/Game.ts(86,42): error TS2094: The property 'Debug' does not exist on value of type 'typeof Phaser.Plugin'.
src/ts/Game.ts(87,42): error TS2094: The property 'Tiled' does not exist on value of type 'typeof Phaser.Plugin'.
src/ts/states/State.ts(82,28): error TS2094: The property 'tiledmap' does not exist on value of type 'Phaser.GameObjectFactory'.
src/ts/utility/saves/ZoneSave.ts(5,54): error TS2095: Could not find symbol 'Zone'.
I imagine it has to do something with how inside Game.ts
it calls this.add.plugin(Phaser.Plugin.Debug);
& this.add.plugin(Phaser.Plugin.Tiled);
. I tried manually adding those but I still get errors when it's served. Any ideas?
Again, I really appreciate this help trying to get this to at least build where you were at when you stopped working on it.
It should be fine right now, TS errors are really just warnings the output files should still be there and working. The first 3 errors you mention will never go away because those plugins don't have typescript def files, the last I don't remember why it is happening but it probably doesn't matter.
Try running the code and see what errors you get in browser (I don't remember if I left this in a working state, so it may just not work).
Ran this locally and found a few build-related issues that I fixed and pushed up (including fixing that ref, and adding the phaser-tiled and phaser-debug dependencies to package.json).
I notice there are errors still, likely due to it trying to use the original dev version of phaser-tiled instead of the new one. I'll spend some time to get this running and let you know.
OK, should be good now (added another dependency, so make sure to rerun npm install
).
Note that this project is far behind where the pure JS one was (using a different engine that I wrote):
repo: https://github.com/englercj/lttp demo: http://www.grapefruitjs.org/demos/lttp/
This was more a learning exercise for me to get familiar with phaser and typescript. Once I was pretty familiar, I kind of stopped working on this. Physics are currently disabled because there is a bug in the tile collision converter in phaser-tiled
that breaks this project.
@englercj Ahhhh, that's a bummer. Was hoping I could take this project and keep progressing it on Phaser. I may try to revive it, seeing as what you have. Clearly it's a bit behind, it just lets you run around a sprite. haha Really awesome work, though. :) It's interesting to see it all running. Thanks again for playing around with this for me this evening.
@bluetidepro No problem, most of the framework is there it is just a matter of porting the mechanics to Phaser/P2. I honestly just don't have the time to do it :(
This is what happens when I run
npm install && npm start
, once it gets togulp build serve
it errors out like so:And the
npm-debug
looks like this:Do you know what might be happening? Does your build work?
Can you possible add a build to the repo so I can at least see that running version?
Thanks so much! I would really love to get this up and running...