Jump to content

Still getting errors when trying to build initial demo


flurp
 Share

Recommended Posts

I am still getting errors like: 

Severity    Code    Description    Project    File    Line    Suppression State
Error        Build:Expected 0-1 arguments, but got 5.    Canada    C:\MRM\Canada\Canada\app.ts .  

I am receiving 10 Errors when trying to build this in VS2015. It is behaving like it is missing a project reference as it doesn't recognize game.load,image and game.add.sprite as well as the number of arguments in  Phaser.Game. This behavior is normally tied to missing a .dll or a using in C#. In the initial instructions it says if you are still having errors to add the suggested file to the top of the app.ts file: /// <reference path="phaser.d.ts"/> which I did. I can see in doing research using /// <reference path="phaser.d.ts"/> as a way to add reference is supposed to work. I have downloaded the latest version of phaser.d.ts from Git and still have the issue. Any help would be very much appreciated as I am trying to get started with Phaser3

app.ts

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...