contourdev Posted August 20, 2015 Share Posted August 20, 2015 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 More sharing options...
stupot Posted August 20, 2015 Share Posted August 20, 2015 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 More sharing options...
Recommended Posts