The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

2canSam (3) [Avatar] Offline
I was seeing the following error when I ran the browserify command.

[~/babelify_example]$ browserify src/index.js --transform babelify --outfile dist/bundle.js --debug
    throw err;

Error: Cannot find module 'babel-core'
    at Function.Module._resolveFilename (module.js:555:15)
    at Function.Module._load (module.js:482:25)
    at Module.require (module.js:604:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/user/babelify_example/node_modules/babelify/index.js:2:14)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)

Apparently, you need to add babel-core like so:
npm install --save-dev babel-core
263539 (1) [Avatar] Offline
I would like to say ... after this not working in chapter 2:

$ babel src -d dist

And then this not working in chapter 3:

$ browserify src/index.js --transform babelify --outfile dist/bundle.js --debug

and searching stack overflow then finally the forums for this book I am VERY disappointed.

It will be difficult to learn anything when the examples in the book do NOT work and I have to continually lose my stride second guessing everything and not knowing if the errors are real or not.

Did ANYONE try to go through the book with a clean computer to make sure things actually worked before printing it???