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

After addubg '@nuxtjs/markdownit' to nuxt modules, nuxt startup fails #30

Open
paweloque opened this issue Mar 3, 2021 · 0 comments
Open

Comments

@paweloque
Copy link

paweloque commented Mar 3, 2021

I've installed v2.0.0 of @nuxtjs/markdownit to my vuejs application which is using nuxt (v2.12.2).
After adding:

  modules: [
    ...
    '@nuxtjs/markdownit',
  ],

To nuxt modules, nuxt informs me on startup:

  ✖ Nuxt Fatal Error
   │   TypeError: Cannot read property 'options' of undefined

Is this a compatibility problem? Or a wrong configuration of the markdownit module?

The trace of the error is:

 FATAL  Cannot read property 'options' of undefined                                                                                                                                                          18:20:19

  at extendBuild (node_modules/@nuxt/core/dist/core.js:122:10)
  at ModuleContainer.markdownitModule (node_modules/@nuxtjs/markdownit/dist/module.js:25:3)
  at ModuleContainer.addModule (node_modules/@nuxt/core/dist/core.js:215:34)
  at node_modules/@nuxt/utils/dist/utils.js:1803:43
  at async ModuleContainer.ready (node_modules/@nuxt/core/dist/core.js:43:5)
  at async Nuxt._init (node_modules/@nuxt/core/dist/core.js:685:5)
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

No branches or pull requests

1 participant