spbooks / html5games1

Code archive for the book HTML5 Games: Novice to Ninja
193 stars 115 forks source link

build.js file isn't created #10

Open marc9323 opened 5 years ago

marc9323 commented 5 years ago

I followed the instructions in chapter 1 for using babel and the project runs fine - except for no build.js file appears when I use npm start. The index.html file links to it but it isn't created.

simonmackie commented 5 years ago

Paging @mrspeaker -- hopefully he'll be able to help out.

marc9323 commented 5 years ago

Guess not :(

mrspeaker commented 5 years ago

Hey @marc9323 - sorry, I'm not at my regular set up for the time being and have been "off the grid". I don't have access to the book at the moment, but the only thing I can think of off the top of my head is that it's a budo configuration issue. Can you post your package.json file? Does it look similar to the one it the repo? https://github.com/spbooks/html5games1/blob/master/ch01/03-npm-base/package.json (especially the start script.

I'll test the repo package out tonight, and if you could post your package.json too then I'll test that too and figure out what's going on.