strapi / strapi-starter-gridsome-portfolio

Build portfolio sites using Strapi and Gridsome
https://strapi-starter-gridsome-portfolio.vercel.app
MIT License
33 stars 9 forks source link

ParseError #4

Closed idesignzone closed 3 years ago

idesignzone commented 3 years ago

Hi there. my backend running on http://localhost:1337/ but when I try to run the frontend I receive an error:

$ gridsome develop
Gridsome v0.7.21

Initializing plugins...
Load sources - 0s
ServerParseError: Unexpected token M in JSON at position 0
    at JSON.parse (<anonymous>)
    at D:\frontend\node_modules\apollo-link-http-common\lib\index.js:35:25
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
remidej commented 3 years ago

Thanks for reporting this issue. The problem is that the GraphQL plugin wasn't added by the template. I have now updated the template accordingly.

There are 2 ways you can now fix this: