Skip to content
New issue

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

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

Already on GitHub? # to your account

tried with latest deps doesn't work #9

Open
AbhimanyuAryan opened this issue Jan 21, 2023 · 0 comments
Open

tried with latest deps doesn't work #9

AbhimanyuAryan opened this issue Jan 21, 2023 · 0 comments

Comments

@AbhimanyuAryan
Copy link

Are their any upto dates examples for blog starters? @mittalyashu

  "dependencies": {
    "@gridsome/source-filesystem": "^0.6.2",
    "@gridsome/transformer-remark": "^0.6.4",
    "gh-pages": "^5.0.0",
    "gridsome": "^0.7.0"
  }
 ERROR  Failed to compile with 1 errors                                                                    10:07:54 PM

 error  in ./src/pages/Index.vue?vue&type=custom&index=0&blockType=page-query

Module build failed (from ./node_modules/gridsome/lib/plugins/vue-components/lib/loaders/page-query.js):
Error: Cannot query field "_id" on type "BlogPost". Did you mean "id"?

GraphQL request:6:9
5 |       node {
6 |         _id
  |         ^
7 |         title
    at Object.module.exports (/Users/abhi/Desktop/gridsome-starter-markdown-blog/node_modules/gridsome/lib/plugins/vue-components/lib/loaders/page-query.js:33:23)

 @ ./src/pages/Index.vue?vue&type=custom&index=0&blockType=page-query 1:0-331 1:347-350 1:352-680 1:352-680
 @ ./src/pages/Index.vue
 @ ./src/.temp/routes.js
 @ ./node_modules/gridsome/app/router.js
 @ ./node_modules/gridsome/app/entry.sockjs.js
 @ multi webpack/hot/dev-server webpack-hot-middleware/client?name=app&reload=true&noInfo=true ./node_modules/gridsome/app/entry.client.js ./node_modules/gridsome/app/entry.sockjs.js
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant