You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.
I just installed this generator, and something I was troubled at is that "npm run build" command won't work properly if you don't create a subfolder also named "assets" inside you "assets" folder to put your files there; otherwise what will happen is that all your asset files will be "built" on the root folder of the project, and Phaser won't find them when loading.
This also happens with the generator game example, which means you can't test it from scratch just by generating and building it.
The text was updated successfully, but these errors were encountered:
I'm a total newbie at npm, but the problem is easily solvable by changing line 13 at "package.json" from "copy:assets": "ncp assets build/",
to "copy:assets": "ncp assets build/assets/",
I'm not sure if this is the best solution or I was just mistaken somewhere during the npm built, though.
npm: 4.0.5v; LinuxMint 17.2 Cinnamon.
I just installed this generator, and something I was troubled at is that "npm run build" command won't work properly if you don't create a subfolder also named "assets" inside you "assets" folder to put your files there; otherwise what will happen is that all your asset files will be "built" on the root folder of the project, and Phaser won't find them when loading.
This also happens with the generator game example, which means you can't test it from scratch just by generating and building it.
The text was updated successfully, but these errors were encountered: