phaser-node-kit icon indicating copy to clipboard operation
phaser-node-kit copied to clipboard

if ( pnkit update ) not work, try this.....

Open Turkm opened this issue 7 years ago • 0 comments

i think this just a windows issue, so if you try use (pnkit update) it will throw an exception, and the problem is here: C:\Users{user}\AppData\Roaming\npm\node_modules\phaser-node-kit\lib\update.js in these line (22): const npm = spawn('npm', ['install', 'phaser-ce@latest'], { cwd: paths.cli.base, stdio: ['pipe', 'ignore', 'ignore']})

just change it to this: const npm = spawn('npm.cmd', ['install', 'phaser-ce@latest'], { cwd: paths.cli.base, stdio: ['pipe', 'ignore', 'ignore']})

Turkm avatar Apr 11 '18 17:04 Turkm