Closed bonndan closed 2 years ago
Yarn is not necessary for running the project; the same can be achieved with npm install
+ npm run dev
, so perhaps it shouldn't be part of the dependencies. What do you think, @bonndan?
My point is that next
appears to be missing as dependency.
Hmm next.js is in the dependencies https://github.com/issaafalkattan/react-landing-page-template-2021/blob/main/package.json#L20
I have cloned the repo into a new directory and the error was gone. Most likey it was my fault. You can close the issue.
This morning I tried to run
yarn
with the result "command next is not defined".did the trick. You might want to add it as dependency.