Jump to content

Updating npm phaser -v


contourdev
 Share

Recommended Posts

I just started learning node.js, phaser, socket.io last week. So this may sound very noob-like, but I want to update phaser to a current version. I go to cmd prompt and type npm phaser -v and it says 1.3.2. I have tried npm update phaser. I have tried npm install phaser. What am I doing wrong?

Link to comment
Share on other sites

it's displaying the version of npm, not phaser.  If you type 'npm -v' it should say the same.

 

To install with npm, type 'npm install phaser', this will create and install to ./node_modules/phaser, which is relative to the directory you were in when you typed this.  The version of phaser can be found in the package.json file.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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