Skip to content
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

TypeError: Cannot read property 'Prefetch' of undefined #8

Closed
stereodenis opened this issue Feb 28, 2020 · 4 comments · Fixed by #9
Closed

TypeError: Cannot read property 'Prefetch' of undefined #8

stereodenis opened this issue Feb 28, 2020 · 4 comments · Fixed by #9

Comments

@stereodenis
Copy link

typedoc src
Loaded plugin /Users/stereodenis/work/busfor-app/node_modules/typedoc-plugin-external-module-map

Using TypeScript 3.7.5 from /Users/stereodenis/work/busfor-app/node_modules/typedoc/node_modules/typescript/lib
/Users/stereodenis/work/busfor-app/node_modules/typedoc-plugin-external-module-map/plugin.js:46
            this.options.read({}, options_1.OptionsReadMode.Prefetch);
                                                            ^

TypeError: Cannot read property 'Prefetch' of undefined
    at ExternalModuleMapPlugin.onBegin (/Users/stereodenis/work/busfor-app/node_modules/typedoc-plugin-external-module-map/plugin.js:46:61)
    at triggerEvents (/Users/stereodenis/work/busfor-app/node_modules/typedoc/dist/lib/utils/events.js:128:43)
    at triggerApi (/Users/stereodenis/work/busfor-app/node_modules/typedoc/dist/lib/utils/events.js:110:13)
    at eventsApi (/Users/stereodenis/work/busfor-app/node_modules/typedoc/dist/lib/utils/events.js:21:18)
    at Converter.trigger (/Users/stereodenis/work/busfor-app/node_modules/typedoc/dist/lib/utils/events.js:264:13)
    at Converter.convert (/Users/stereodenis/work/busfor-app/node_modules/typedoc/dist/lib/converter/converter.js:89:14)
    at CliApplication.convert (/Users/stereodenis/work/busfor-app/node_modules/typedoc/dist/lib/application.js:72:39)
    at CliApplication.bootstrap (/Users/stereodenis/work/busfor-app/node_modules/typedoc/dist/lib/cli.js:45:34)
    at Object.<anonymous> (/Users/stereodenis/work/busfor-app/node_modules/typedoc/bin/typedoc:5:5)
@maneetgoyal
Copy link

maneetgoyal commented Feb 29, 2020

danbalarin added a commit to danbalarin/typedoc-plugin-external-module-map that referenced this issue Mar 18, 2020
@danbalarin
Copy link
Contributor

Thanks to @maneetgoyal it was easy to track down error. I fixed it in PR #9 ,hopefully will be merged soon

@maneetgoyal
Copy link

Hi @asgerjensen, a fix would be really helpful. Currently stuck with older typescript version. Please let us know if there’s anything on our end we can do. Many thanks for maintaining this repo though :)

@asgerjensen
Copy link
Owner

asgerjensen commented Mar 31, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants