Hello,
I'm attempting to call browserify -p mocaccino test.js (browserify 5.9.1, mocaccino 0.8.0) and getting this error:
/home/rektide/projects/foo/node_modules/mocaccino/lib/mocaccino.js:30
b.noParse(require.resolve('mocha/mocha'));
^
TypeError: undefined is not a function
at module.exports (/home/rektide/projects/WMX/node_modules/mocaccino/lib/mocaccino.js:30:7)
at Browserify.plugin (/usr/local/lib/node_modules/browserify/index.js:208:9)
at /usr/local/lib/node_modules/browserify/bin/args.js:99:15
at Array.forEach (native)
at module.exports (/usr/local/lib/node_modules/browserify/bin/args.js:94:10)
at Object.<anonymous> (/usr/local/lib/node_modules/browserify/bin/cmd.js:6:26)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:349:32)
at Function.Module._load (module.js:305:12)
FWIW, I did an Object.keys(b) right before this line and got: [ '_options', '_external', '_exclude', '_ignore', '_expose', '_hashes', '_pending', '_entryOrder', '_extensions', '_mdeps', '_bpack', '_recorded', 'pipeline', 'argv' ]
Hello, I'm attempting to call
browserify -p mocaccino test.js
(browserify 5.9.1, mocaccino 0.8.0) and getting this error:FWIW, I did an Object.keys(b) right before this line and got:
[ '_options', '_external', '_exclude', '_ignore', '_expose', '_hashes', '_pending', '_entryOrder', '_extensions', '_mdeps', '_bpack', '_recorded', 'pipeline', 'argv' ]