SimonHoiberg / saas-template

SaaS template for AWS, Amplify, React, NextJS and Chakra
MIT License
732 stars 181 forks source link

Issue running npm run dev after all the configuring #3

Closed sgr0691 closed 1 year ago

sgr0691 commented 2 years ago

I'm having an issue running the application locally by typing npm run dev it gives me an error message "sh: next: command not found"

error
sgr0691 commented 2 years ago

Am I supposed to run npm run dev within the frontend folder or in the main directory?

SimonHoiberg commented 2 years ago

You are supposed to run this from within the front-end folder. It's this line right here.

Make sure you have Next set up properly. See their guide here.