Skip to content

Project not running #8

@karanrajpal14

Description

@karanrajpal14

Hello, I've been trying to set up a blog myself using Nuxt and it has been a pain so far because the documentation is sparse. I did come across your project and it seems to be close to what I want to achieve. Sadly, I cannot get it to run. I cloned the repo, installed all dependencies and when I run npm run dev I get this error:

➜ npm run dev

> nandomoreira.me@4.2.0 dev /home/karan/projects/nandomoreira.me
> nuxt dev

TypeError: this.nuxt.hook is not a function
    at ModuleContainer.ContentModule (/home/karan/projects/nandomoreira.me/node_modules/nuxtent/dist/module.js:1:4619)
    at /home/karan/projects/nandomoreira.me/node_modules/nuxt/lib/core/module.js:133:29
    at new Promise (<anonymous>)
    at ModuleContainer._callee2$ (/home/karan/projects/nandomoreira.me/node_modules/nuxt/lib/core/module.js:132:12)
    at tryCatch (/home/karan/projects/nandomoreira.me/node_modules/nuxt/node_modules/regenerator-runtime/runtime.js:65:40)
    at Generator.invoke [as _invoke] (/home/karan/projects/nandomoreira.me/node_modules/nuxt/node_modules/regenerator-runtime/runtime.js:299:22)
    at Generator.prototype.(anonymous function) [as next] (/home/karan/projects/nandomoreira.me/node_modules/nuxt/node_modules/regenerator-runtime/runtime.js:117:21)
    at step (/home/karan/projects/nandomoreira.me/node_modules/nuxt/dist/nuxt.js:954:30)
    at /home/karan/projects/nandomoreira.me/node_modules/nuxt/dist/nuxt.js:965:13
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at Function.Module.runMain (module.js:695:11)
    at startup (bootstrap_node.js:188:16)
    at bootstrap_node.js:609:3
  nuxt:pwa Adding manifest +0ms
  nuxt:pwa Adding icons +0ms
  nuxt:pwa Adding meta +0ms
  nuxt:pwa No host specified, skipping og:image +1ms
  nuxt:build App root: /home/karan/projects/nandomoreira.me +0ms
  nuxt:build Generating /home/karan/projects/nandomoreira.me/.nuxt files... +1ms
  nuxt:build Generating files... +3ms
  nuxt:build Generating routes... +3ms
  nuxt:build Building files... +15ms
  nuxt:build Adding webpack middleware... +71ms
Build completed in 10.798s

Also, when I open the webpage I get Cannot GET /. Any ideas on what's going wrong here? I'd appreciate some help. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions