issaafalkattan / react-landing-page-template-2021

A sleek plug n play react landing page template.
https://react-landing-page-template-2021.vercel.app
MIT License
513 stars 275 forks source link

Next.js is missing as dependency #1

Closed bonndan closed 2 years ago

bonndan commented 2 years ago

This morning I tried to run yarn with the result "command next is not defined".

npm install yarn

did the trick. You might want to add it as dependency.

issaafalkattan commented 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?

bonndan commented 2 years ago

My point is that next appears to be missing as dependency.

issaafalkattan commented 2 years ago

Hmm next.js is in the dependencies https://github.com/issaafalkattan/react-landing-page-template-2021/blob/main/package.json#L20

bonndan commented 2 years ago

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.