New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eventemitter crashes compiler #75

Closed
ghost opened this Issue Sep 9, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@ghost

ghost commented Sep 9, 2015

let events = new require("events");
let moduleEvents = new events.EventEmitter();

These two lines in any js in my project crash the creation of my esdocs.

conf.json

{
"source": "./",
"destination": "./documentation",
"excludes": ["node_modules._", ".Fakeplayer.", ".Data.", ".chatcommands.js", "._events.js*"],
"unexportIdentifier": true,
"coverage": true,
"includeSource": false
}

Crash in cmd:

badge.svg
C:\Users\Username\AppData\Roaming\npm\node_modules\esdoc\out\src\Publisher\Build
er\DocBuilder.js:447
throw _iteratorError2;
^
TypeError: Cannot read property 'match' of null
at IdentifiersDocBuilder._buildTypeDocLinkHTML (C:\Users\Username\AppData\Ro
aming\npm\node_modules\esdoc\out\src\Publisher\Builder\DocBuilder.js:862:29)
at IdentifiersDocBuilder._buildSignatureHTML (C:\Users\Username\AppData\Roam
ing\npm\node_modules\esdoc\out\src\Publisher\Builder\DocBuilder.js:1158:38)
at C:\Users\Username\AppData\Roaming\npm\node_modules\esdoc\out\src\Publishe
r\Builder\DocBuilder.js:476:38
at IceCap.loop (C:\Users\Username\AppData\Roaming\npm\node_modules\esdoc\nod
e_modules\ice-cap\out\src\IceCap.js:319:15)
at IdentifiersDocBuilder._buildSummaryDoc (C:\Users\Username\AppData\Roaming
\npm\node_modules\esdoc\out\src\Publisher\Builder\DocBuilder.js:473:11)
at IdentifiersDocBuilder._buildSummaryHTML (C:\Users\Username\AppData\Roamin
g\npm\node_modules\esdoc\out\src\Publisher\Builder\DocBuilder.js:432:29)
at IdentifiersDocBuilder._buildIdentifierDoc (C:\Users\Username\AppData\Roam
ing\npm\node_modules\esdoc\out\src\Publisher\Builder\IdentifiersDocBuilder.js:78
:40)
at IdentifiersDocBuilder.exec (C:\Users\Username\AppData\Roaming\npm\node_mo
dules\esdoc\out\src\Publisher\Builder\IdentifiersDocBuilder.js:52:32)
at publish (C:\Users\Username\AppData\Roaming\npm\node_modules\esdoc\out\src
\Publisher\publish.js:159:65)
at Function.generate (C:\Users\Username\AppData\Roaming\npm\node_modules\esd
oc\out\src\ESDoc.js:200:7)

@h13i32maru

This comment has been minimized.

Show comment
Hide comment
@h13i32maru

h13i32maru Sep 10, 2015

Member

@TitusJonas Hi! Thanks for this issue!
This is ESDoc bug 😓
I will try to fix it, and please wait a little.

Member

h13i32maru commented Sep 10, 2015

@TitusJonas Hi! Thanks for this issue!
This is ESDoc bug 😓
I will try to fix it, and please wait a little.

@h13i32maru

This comment has been minimized.

Show comment
Hide comment
@h13i32maru

h13i32maru Sep 13, 2015

Member

I published v0.2.6 that fixed this issue. Please try to use it.

Member

h13i32maru commented Sep 13, 2015

I published v0.2.6 that fixed this issue. Please try to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment