nanopx / gulp-esdoc

Gulp plugin for ESDoc
11 stars 11 forks source link

IceCap Unexpected strict mode reserved word with gulp-esdoc 0.2.0 + es-doc 0.4.7 #12

Open kmturley opened 8 years ago

kmturley commented 8 years ago

I'm getting the following error on my gulp build when installed from fresh:

/frontend/node_modules/gulp-esdoc/node_modules/esdoc/node_modules/ice-cap/out/src/IceCap.js:18
let logger = new _colorLogger2.default('IceCap');
^^^
SyntaxError: Unexpected strict mode reserved word
    at exports.runInThisContext (vm.js:73:16)

I'm I find the line: frontend/node_modules/gulp-esdoc/package json

"esdoc": "^0.4.3",

and change it to be:

"esdoc": "0.4.3",

then reinstall gulp-esdoc, it fixes the issue for me. Might be worth something looking into?

jcandeli commented 8 years ago

Thank god for this issue. I was having the same problem on version 0.4.8. switching to 0.4.3 fixed it. Definitely something they should look into.