Unlocking Local Development

Hello, I am trying to run the local development environment for the Netlify Website I am creating but when I run the stackbit dev command I get the following message on the screen: Failed to connect to your site’s local server

Your local stackbit dev cannot connect to the dev server of your site, which should be running at http://localhost:3000.
Please check that it is up and running How can I fix the problem?

Did you run your site’s dev server (usually npm run dev)?