Error when running npm run develop

System Information
  • Strapi Version:
  • Operating System: macOS Catalina 10.15.7
  • Database:
  • Node Version: v15.5.1
  • NPM Version: 6.14.8
  • Yarn Version: 1.22.4

npm run develop

front@ develop /Users/laymui/dev/taiger/my-web-blog-using-gridsome/frontend
gridsome develop

Gridsome v0.7.23

Initializing plugins…
Load sources - 0s
FetchError: request to http://localhost:1337/graphql failed, reason: connect ECONNREFUSED
at ClientRequest. (/Users/laymui/dev/taiger/my-web-blog-using-gridsome/frontend/node_modules/node-fetch/lib/index.js:1461:11)
at ClientRequest.emit (node:events:376:20)
at Socket.socketErrorListener (node:_http_client:474:9)
at Socket.emit (node:events:376:20)
at emitErrorNT (node:internal/streams/destroy:188:8)
at emitErrorCloseNT (node:internal/streams/destroy:153:3)
at processTicksAndRejections (node:internal/process/task_queues:80:21)
npm ERR! errno 1
npm ERR! front@ develop: gridsome develop
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the front@ develop script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/laymui/.npm/_logs/2021-01-14T12_36_38_049Z-debug.log

Generating from this starter repo:
GitHub - strapi/strapi-starter-gridsome-portfolio: Build portfolio sites using Strapi and Gridsome

Is the Strapi backend running? Based on that starter, you need to create a Strapi project using one of our templates: