tbakerx / react-resume-template

A personal resume website template built with React.js, Typescript, Next.js, and styled with Tailwind css
https://reactresume.com
MIT License
1.88k stars 1.43k forks source link

Cannot run `yarn dev` #131

Closed SunWeihao1226 closed 9 months ago

SunWeihao1226 commented 9 months ago

Hello! I tried to run yarn dev as in the instruction, but the following error occurred:

(pwebsite) MacBook-Pro-15:personal-website sunweihao$ yarn dev
Usage Error: Couldn't find a script named "dev".

$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] [--require #0] <scriptName> ...

Is there something wrong with the yarn installation? Thanks!

ggfevans commented 9 months ago

Hi @SunWeihao1226 I see you've got the folder personal-website, while the repo you've forked on your profile has the original name. I suspect this relates to your specific package.json in there. does your package.json have the name personal-website or have you still got react-resume-template there?

SunWeihao1226 commented 9 months ago

Thank you! I already solved it. The problem is because of the package.json file, it is somehow different from the one in your template after installing yarn.