mrcrmn / docc

A starter documentation theme for Gridsome. Featuring instant search, great navigation and a dark mode!
https://docc-theme.netlify.com
MIT License
125 stars 32 forks source link

It's not able to buld the project #31

Open rodrigorodriguescosta opened 3 years ago

rodrigorodriguescosta commented 3 years ago

Hi, I just download it and run gridsome develop it works, but when I run gridsome build it doesn't works with the message below.

Write out page data (8 files) - 0s
assets/js/page--src-templates-markdown-page-vue.395893e9.js:171
      this.observer.disconnect(); // And create another one for the next page.
                    ^

TypeError: Cannot read property 'disconnect' of null
    at a.$route (assets/js/page--src-templates-markdown-page-vue.395893e9.js:171:21)
djmtype commented 3 years ago

Neither gridsome build or gridsome develop worked for me. I think some of the dependencies like node-sass need to be updated as well.

Sadly, there are 5 errors:

error in ./src/templates/MarkdownPage.vue?vue&type=style&index=0&lang=css&
error in ./node_modules/gridsome-plugin-tailwindcss/node_modules/tailwindcss/tailwind.css
error in ./src/pages/Index.vue?vue&type=style&index=0&lang=css&
error in ./src/layouts/Default.vue?vue&type=style&index=0&lang=scss&
error in ./src/components/LayoutHeader.vue?vue&type=style&index=0&lang=scss&
djmtype commented 3 years ago

@rodrigorodriguescosta I cloned this repo instead. It works. https://github.com/exuanbo/gridsome-starter-gdoc

rodrigorodriguescosta commented 3 years ago

hey @djmtype , I gave up with Gridsome, I swicted to Nuxt and it worked like a charm

mickume commented 3 years ago

I created a pull request that SHOULD fix this:

https://github.com/mrcrmn/docc/pull/32