rocketseat-education / ignite-template-reactjs-conceitos-do-react

MIT License
64 stars 214 forks source link

No lock file found #6

Open vilarezz opened 3 years ago

vilarezz commented 3 years ago

Não tem nenhum lock.yarn no projecto, não consigo instalar as dependências.

fariasmateuss commented 3 years ago

Hi @vilarezz 👋

The yarn.lock file is just a dependency cache file.

This file will be generated after installing the package.json dependencies, only it is necessary.

Run locally:

  git clone https://github.com/rocketseat-education/ignite-template-reactjs-conceitos-do-react.git

or

npx create-react-app project-name -e https://github.com/rocketseat-education/ignite-template-reactjs-conceitos-do-react

Go to the project directory

  cd ignite-template-reactjs-conceitos-do-react

Install dependencies

  yarn

Start the server

  yarn dev

Open http://localhost:8080 with your browser to see the result.

Hope this helps