Closed marmite22 closed 6 years ago
I tested this on my work Mac this morning and seem to have the same issue there too.
jesse:Workspace/ $ npm install --global generator-phaser-plus
npm ERR! path /usr/local/lib/node_modules/generator-phaser-plus/cli.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/generator-phaser-plus/cli.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/jesse/.npm/_logs/2018-02-14T10_36_06_646Z-debug.log
jesse:Workspace/ $ node -v
v8.1.3
Thanks for reporting this one. It seems I forgot to update the generator package listing when I did f0a256e3aa24807fd907be1ec69a12fd63ffeedc and the cli.js
script is missing. :man_facepalming:
I will be publishing the package with the fix on npm later.
Thanks! Project looks cool, I look forward to using it!
Yay, it works now. Thank you.
I don't know if I'm doing something wrong or something is wrong with my config but I'm trying to install generator-phaser-plus and it's not working.
Via NPM and I get the following error.
I can't see the package in my global node_modules folder.
Installing via Yarn appears to work (I can see the folder in Yarn's global node_modules folder) but after installation running
phaser-plus
returnsphaser-plus: command not found