Git Product home page Git Product logo

react-weather-app's Introduction

React Weather App

This is the companion code for the Beginner React series on the Scotch School.

Setup

Clone the project, install the dependencies, and run the project.

git clone https://github.com/searsaw/react-weather-app.git
cd react-weather-app
yarn # or npm install
yarn start # or npm run start

Then open up your browser to http://localhost:8080, and you will be able to see the project.

finished branch

The master branch of this project is for the starter code. If you want to see the finished project, switch to the finished branch, install the new dependencies, and run it.

git checkout finished
yarn # or npm install
yarn start # or npm run start

react-weather-app's People

Contributors

w3irdrobot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react-weather-app's Issues

Cannot run application with 'npm start'

In the Scotch School tutorial, it says:

The last step is to run the project! We just need to run the start command in your package manager of choice.

yarn start // or npm start

However, the package.json file specifies yarn

  "scripts": {
    ...
    "start": "concurrently \"yarn serve:webpack\" \"yarn serve:json\""
  },

When trying to run the application with npm, the following error is produced:

> @ start /home/j3rn/Workspace/react-weather-app
> concurrently "yarn serve:webpack" "yarn serve:json"

[0] /bin/sh: 1: yarn: not found
[1] /bin/sh: 1: yarn: not found
[1] yarn serve:json exited with cod

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.